@brightlocal/ui-components 3.3.0 → 3.4.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.
@@ -1 +1 @@
1
- const s=require("./spring-settle.cjs");var S={type:"spring",stiffness:500,damping:45},E={type:"spring",stiffness:180,damping:24,mass:1},T={type:"spring",stiffness:80,damping:20,mass:1},i={type:"spring",stiffness:30,damping:9,mass:.5};exports.SETTLE_REST_DELTA=s.SETTLE_REST_DELTA;exports.SPRING_GENTLE=T;exports.SPRING_SETTLE=i;exports.SPRING_SMOOTH=E;exports.SPRING_SNAPPY=S;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=require("./spring-settle.cjs");var E=150,S=200,T=300,O="cubic-bezier(0, 0, 0.2, 1)",N="cubic-bezier(0.22, 1, 0.36, 1)",I={type:"spring",stiffness:500,damping:45},s={type:"spring",stiffness:180,damping:24,mass:1},e={type:"spring",stiffness:80,damping:20,mass:1},r={type:"spring",stiffness:30,damping:9,mass:.5};exports.MOTION_DURATION_BASE_MS=S;exports.MOTION_DURATION_FAST_MS=E;exports.MOTION_DURATION_SLOW_MS=T;exports.MOTION_EASE_DECELERATE=O;exports.MOTION_EASE_EMPHASIZED=N;exports.SETTLE_REST_DELTA=_.SETTLE_REST_DELTA;exports.SPRING_GENTLE=e;exports.SPRING_SETTLE=r;exports.SPRING_SMOOTH=s;exports.SPRING_SNAPPY=I;
@@ -1,28 +1,33 @@
1
- import { SETTLE_REST_DELTA as p } from "./spring-settle.js";
2
- var i = {
1
+ import { SETTLE_REST_DELTA as E } from "./spring-settle.js";
2
+ var _ = 150, r = 200, S = 300, T = "cubic-bezier(0, 0, 0.2, 1)", i = "cubic-bezier(0.22, 1, 0.36, 1)", a = {
3
3
  type: "spring",
4
4
  stiffness: 500,
5
5
  damping: 45
6
- }, n = {
6
+ }, O = {
7
7
  type: "spring",
8
8
  stiffness: 180,
9
9
  damping: 24,
10
10
  mass: 1
11
- }, a = {
11
+ }, p = {
12
12
  type: "spring",
13
13
  stiffness: 80,
14
14
  damping: 20,
15
15
  mass: 1
16
- }, r = {
16
+ }, N = {
17
17
  type: "spring",
18
18
  stiffness: 30,
19
19
  damping: 9,
20
20
  mass: 0.5
21
21
  };
22
22
  export {
23
- p as SETTLE_REST_DELTA,
24
- a as SPRING_GENTLE,
25
- r as SPRING_SETTLE,
26
- n as SPRING_SMOOTH,
27
- i as SPRING_SNAPPY
23
+ r as MOTION_DURATION_BASE_MS,
24
+ _ as MOTION_DURATION_FAST_MS,
25
+ S as MOTION_DURATION_SLOW_MS,
26
+ T as MOTION_EASE_DECELERATE,
27
+ i as MOTION_EASE_EMPHASIZED,
28
+ E as SETTLE_REST_DELTA,
29
+ p as SPRING_GENTLE,
30
+ N as SPRING_SETTLE,
31
+ O as SPRING_SMOOTH,
32
+ a as SPRING_SNAPPY
28
33
  };
package/dist/list.cjs CHANGED
@@ -1 +1 @@
1
- const h=require("./_virtual/_rolldown/runtime.cjs");let r=require("react");r=h.__toESM(r,1);let l=require("@brightlocal/ui-components/lib/utils"),i=require("react/jsx-runtime"),y=require("@radix-ui/react-slot"),k=require("class-variance-authority"),j=require("@brightlocal/ui-components/skeleton");var n=(0,k.cva)(["flex","gap-4","rounded-lg","py-2","pr-2","pl-4","transition-colors","duration-fast","ease-out"],{variants:{variant:{default:[],filled:["bg-muted"],outline:["bg-background","border","border-border"],loading:["p-0"]},align:{center:["items-center"],start:["items-start"]}},defaultVariants:{variant:"filled",align:"center"}}),m=r.forwardRef(({className:t,dataHook:a,trackingEl:e,trackingLabel:s,...d},o)=>(0,i.jsx)("ul",{ref:o,className:(0,l.cn)("flex flex-col gap-2",t),"data-hook":a,"data-slot":"list","data-tracking-el":e,"data-tracking-label":s,...d}));m.displayName="List";var c=r.forwardRef(({asChild:t=!1,className:a,variant:e,align:s,dataHook:d,trackingEl:o,trackingLabel:_,children:b,...v},N)=>(0,i.jsx)(t?y.Slot:"li",{ref:N,className:(0,l.cn)(n({variant:e,align:s}),a),"data-hook":d,"data-slot":"item","data-tracking-el":o,"data-tracking-label":_,...v,children:e==="loading"?(0,i.jsx)(j.Skeleton,{className:"h-13 w-full rounded-lg"}):b}));c.displayName="Item";var u=r.forwardRef(({className:t,...a},e)=>(0,i.jsx)("div",{ref:e,className:(0,l.cn)("shrink-0",t),"data-slot":"item-media",...a}));u.displayName="ItemMedia";var f=r.forwardRef(({className:t,...a},e)=>(0,i.jsx)("div",{ref:e,className:(0,l.cn)("flex flex-1 flex-col gap-1",t),"data-slot":"item-content",...a}));f.displayName="ItemContent";var p=r.forwardRef(({className:t,...a},e)=>(0,i.jsx)("div",{ref:e,className:(0,l.cn)("text-foreground text-body",t),"data-slot":"item-title",...a}));p.displayName="ItemTitle";var x=r.forwardRef(({className:t,...a},e)=>(0,i.jsx)("div",{ref:e,className:(0,l.cn)("text-body-sm text-muted-foreground",t),"data-slot":"item-description",...a}));x.displayName="ItemDescription";var g=r.forwardRef(({className:t,...a},e)=>(0,i.jsx)("div",{ref:e,className:(0,l.cn)("text-muted-foreground flex size-9 shrink-0 items-center justify-center rounded-full",t),"data-slot":"item-actions",...a}));g.displayName="ItemActions";var I=r.forwardRef(({className:t,dataHook:a,...e},s)=>(0,i.jsx)("li",{ref:s,className:(0,l.cn)("text-muted-foreground text-label-sm flex items-center pt-4 pr-2 pb-1 pl-4 first:pt-2",t),"data-hook":a,"data-slot":"item-subheader",...e}));I.displayName="ItemSubheader";exports.Item=c;exports.ItemActions=g;exports.ItemContent=f;exports.ItemDescription=x;exports.ItemMedia=u;exports.ItemSubheader=I;exports.ItemTitle=p;exports.List=m;exports.itemVariants=n;
1
+ "use client";const G=require("./_virtual/_rolldown/runtime.cjs");let s=require("react");s=G.__toESM(s,1);let J=require("@brightlocal/icons"),d=require("@brightlocal/ui-components/lib/utils"),n=require("react/jsx-runtime"),h=require("@radix-ui/react-slot"),L=require("class-variance-authority"),g=require("@brightlocal/ui-components/tooltip"),Q=require("@brightlocal/ui-components/skeleton");var I=(0,L.cva)(["group/item","flex","gap-4","rounded-lg","py-2","pr-2","pl-4","transition-colors","duration-fast","ease-out","has-[>[data-slot=item-button]]:p-0","has-[>[data-slot=item-link]]:p-0"],{variants:{variant:{default:[],filled:["bg-muted"],outline:["bg-background","border","border-border"],loading:["p-0"]},align:{center:["items-center"],start:["items-start"]}},defaultVariants:{variant:"filled",align:"center"}}),T=(0,L.cva)(["flex","flex-col"],{variants:{inset:{true:["-mr-2","-ml-4"],false:[]},divided:{true:["gap-0","[&>[data-slot=item]]:rounded-none","[&>[data-slot=item]+[data-slot=item]]:border-t","[&>[data-slot=item]+[data-slot=item]]:border-border"],false:["gap-2"]}},defaultVariants:{inset:!1,divided:!1}}),V=s.forwardRef(({className:t,dataHook:e,trackingEl:a,trackingLabel:r,inset:i,divided:o,...l},c)=>(0,n.jsx)("ul",{ref:c,className:(0,d.cn)(T({inset:i,divided:o}),t),"data-divided":o?"":void 0,"data-hook":e,"data-slot":"list","data-tracking-el":a,"data-tracking-label":r,...l}));V.displayName="List";var x=s.forwardRef(({asChild:t=!1,className:e,variant:a,align:r,dataHook:i,trackingEl:o,trackingLabel:l,children:c,...m},p)=>(0,n.jsx)(t?h.Slot:"li",{ref:p,className:(0,d.cn)(I({variant:a,align:r}),e),"data-align":r??"center","data-hook":i,"data-slot":"item","data-tracking-el":o,"data-tracking-label":l,...m,children:a==="loading"?(0,n.jsx)(Q.Skeleton,{className:"h-13 w-full rounded-lg"}):c}));x.displayName="ListItem";var E=(0,L.cva)(["shrink-0"],{variants:{variant:{default:[],icon:["inline-flex","size-10","items-center","justify-center","rounded-lg","border","border-border","bg-background"],image:["size-10","overflow-hidden","rounded-lg","[&_img]:size-full","[&_img]:object-cover"]}},defaultVariants:{variant:"default"}}),k=s.forwardRef(({className:t,variant:e,...a},r)=>(0,n.jsx)("div",{ref:r,className:(0,d.cn)(E({variant:e}),t),"data-slot":"item-media","data-variant":e??"default",...a}));k.displayName="ListItemMedia";var w=s.forwardRef(({className:t,...e},a)=>(0,n.jsx)("div",{ref:a,className:(0,d.cn)("flex min-w-0 flex-1 flex-col gap-1",t),"data-slot":"item-content",...e}));w.displayName="ListItemContent";var U='[data-slot="item-button"], [data-slot="item-link"]';function X(t,e){const[a,r]=s.useState(!1);return s.useEffect(()=>{if(!e||!t)return;const i=()=>r(t.scrollHeight>t.clientHeight+1||t.scrollWidth>t.clientWidth+1),o=new ResizeObserver(i);o.observe(t);const l=new MutationObserver(i);return l.observe(t,{characterData:!0,childList:!0,subtree:!0}),()=>{o.disconnect(),l.disconnect()}},[e,t]),e&&t!==null&&a}function Y(t,e){const[a,r]=s.useState(null),i=e?t?.closest(U)??null:null;return s.useEffect(()=>{if(!i)return;const o=()=>r(i===document.activeElement&&i.matches(":focus-visible")?i:null),l=()=>r(null);return o(),i.addEventListener("focus",o),i.addEventListener("blur",l),()=>{i.removeEventListener("focus",o),i.removeEventListener("blur",l)}},[i]),i!==null&&a===i}var N=s.forwardRef(({asChild:t=!1,truncate:e=!1,partSlot:a,tooltipSide:r,className:i,children:o,...l},c)=>{const[m,p]=s.useState(null),z=s.useCallback(u=>{p(u),typeof c=="function"?c(u):c&&(c.current=u)},[c]),v=X(m,e),f=Y(m,v),[P,H]=s.useState(!1),[W,b]=s.useState(!1),[K,$]=s.useState(f);f!==K&&($(f),f&&b(!1));const C=(0,n.jsx)(t?h.Slot:"div",{ref:z,className:(0,d.cn)(e&&"line-clamp-2",i),"data-slot":a,"data-truncated":v?"":void 0,...l,children:o});return v?(0,n.jsxs)(g.Tooltip,{open:!W&&(P||f),onOpenChange:u=>{u&&b(!1),H(u)},children:[(0,n.jsx)(g.TooltipTrigger,{asChild:!0,onPointerDown:u=>{const R=u.currentTarget;u.pointerType==="touch"&&(R.closest("button, a, label")||R.tagName==="LABEL")&&u.preventDefault()},children:C}),(0,n.jsx)(g.TooltipContent,{dataHook:`list-${a}-tooltip`,side:r,sideOffset:4,onEscapeKeyDown:()=>b(!0),children:o})]}):C});N.displayName="TruncatableText";var _=s.forwardRef(({className:t,...e},a)=>(0,n.jsx)(N,{ref:a,className:(0,d.cn)("text-foreground text-body",t),partSlot:"item-title",tooltipSide:"top",...e}));_.displayName="ListItemTitle";var y=s.forwardRef(({className:t,...e},a)=>(0,n.jsx)(N,{ref:a,className:(0,d.cn)("text-body-sm text-muted-foreground",t),partSlot:"item-description",tooltipSide:"bottom",...e}));y.displayName="ListItemDescription";var S=s.forwardRef(({className:t,...e},a)=>(0,n.jsx)("div",{ref:a,className:(0,d.cn)("text-muted-foreground flex min-h-9 min-w-9 shrink-0 items-center justify-center gap-2",t),"data-slot":"item-actions",...e}));S.displayName="ListItemActions";var j=s.forwardRef(({className:t,dataHook:e,...a},r)=>(0,n.jsx)("li",{ref:r,className:(0,d.cn)("text-muted-foreground text-label-sm flex items-center pt-4 pr-2 pb-1 pl-4 first:pt-2",t),"data-hook":e,"data-slot":"item-subheader",...a}));j.displayName="ListSubheader";var D=["flex","w-full","min-w-0","items-center","group-data-[align=start]/item:items-start","gap-4","rounded-[inherit]","py-2","pr-2","pl-4","text-left","cursor-pointer","outline-none","hover:bg-accent","focus-visible:shadow-default","transition-colors","duration-fast","ease-out","disabled:pointer-events-none","disabled:cursor-not-allowed","disabled:opacity-50","aria-disabled:pointer-events-none","aria-disabled:cursor-not-allowed","aria-disabled:opacity-50"];function q(t,e){const a=t.currentTarget.getAttribute("aria-disabled");if(a==="true"||a===""){t.preventDefault(),t.stopPropagation();return}e?.(t)}var M=s.forwardRef(({className:t,type:e="button",dataHook:a,trackingEl:r,trackingLabel:i,onClickCapture:o,...l},c)=>(0,n.jsx)("button",{ref:c,className:(0,d.cn)(D,t),"data-hook":a,"data-slot":"item-button","data-tracking-el":r,"data-tracking-label":i,type:e,onClickCapture:m=>q(m,o),...l}));M.displayName="ListItemButton";var A=s.forwardRef(({className:t,asChild:e=!1,dataHook:a,trackingEl:r,trackingLabel:i,onClickCapture:o,...l},c)=>(0,n.jsx)(e?h.Slot:"a",{ref:c,className:(0,d.cn)(D,t),"data-hook":a,"data-slot":"item-link","data-tracking-el":r,"data-tracking-label":i,onClickCapture:m=>q(m,o),...l}));A.displayName="ListItemLink";var O=s.forwardRef(({className:t,...e},a)=>(0,n.jsx)("span",{ref:a,className:(0,d.cn)("text-muted-foreground text-body-sm max-w-1/2 min-w-0 shrink truncate text-right",t),"data-slot":"item-value",...e}));O.displayName="ListItemValue";var B=s.forwardRef(({className:t,...e},a)=>(0,n.jsx)(J.ChevronRight,{ref:a,"aria-hidden":!0,className:(0,d.cn)("text-muted-foreground shrink-0",t),"data-slot":"item-chevron",...e}));B.displayName="ListItemChevron";var F=s.forwardRef(({className:t,...e},a)=>(0,n.jsx)("li",{ref:a,"aria-hidden":!0,className:(0,d.cn)("bg-border h-px w-full shrink-0",t),"data-slot":"item-separator",...e}));F.displayName="ListSeparator";var Z=x,tt=k,et=w,at=_,st=y,it=S,rt=j,ot=I;exports.Item=Z;exports.ItemActions=it;exports.ItemContent=et;exports.ItemDescription=st;exports.ItemMedia=tt;exports.ItemSubheader=rt;exports.ItemTitle=at;exports.List=V;exports.ListItem=x;exports.ListItemActions=S;exports.ListItemButton=M;exports.ListItemChevron=B;exports.ListItemContent=w;exports.ListItemDescription=y;exports.ListItemLink=A;exports.ListItemMedia=k;exports.ListItemTitle=_;exports.ListItemValue=O;exports.ListSeparator=F;exports.ListSubheader=j;exports.itemVariants=ot;exports.listItemMediaVariants=E;exports.listItemVariants=I;exports.listVariants=T;
package/dist/list.d.ts CHANGED
@@ -1,5 +1,6 @@
1
+ import { ChevronRight } from '@brightlocal/icons';
1
2
  import * as React from "react";
2
- declare const itemVariants: (props?: ({
3
+ declare const listItemVariants: (props?: ({
3
4
  variant?: "default" | "filled" | "outline" | "loading" | null | undefined;
4
5
  align?: "start" | "center" | null | undefined;
5
6
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -12,6 +13,19 @@ export type ListProps = React.ComponentProps<"ul"> & {
12
13
  * Data hook for automated testing (required).
13
14
  */
14
15
  dataHook: string;
16
+ /**
17
+ * Pulls the list out by the row's own inline padding, so the text of plain
18
+ * (`default`) rows lines up with the content edge of the card around it.
19
+ * @default false
20
+ */
21
+ inset?: boolean;
22
+ /**
23
+ * Draws a hairline between rows and drops the gap and the row radius, for
24
+ * plain (`default`) rows such as a drill-down list. For a single break
25
+ * between two groups, use `ListSeparator` instead.
26
+ * @default false
27
+ */
28
+ divided?: boolean;
15
29
  /**
16
30
  * Tracking element identifier for analytics.
17
31
  */
@@ -22,28 +36,32 @@ export type ListProps = React.ComponentProps<"ul"> & {
22
36
  trackingLabel?: string;
23
37
  };
24
38
  /**
25
- * Vertical list container for rendering a collection of Item rows.
39
+ * Vertical list container for rendering a collection of ListItem rows.
26
40
  *
27
41
  * @example
28
42
  * ```tsx
29
43
  * <List dataHook="keywords-list">
30
- * <Item variant="filled" dataHook="item-1">
31
- * <ItemContent>
32
- * <ItemTitle>Keyword</ItemTitle>
33
- * </ItemContent>
34
- * <ItemActions>
44
+ * <ListItem variant="filled" dataHook="item-1">
45
+ * <ListItemContent>
46
+ * <ListItemTitle>Keyword</ListItemTitle>
47
+ * </ListItemContent>
48
+ * <ListItemActions>
35
49
  * <Button variant="ghost" size="icon" dataHook="remove"><XIcon /></Button>
36
- * </ItemActions>
37
- * </Item>
50
+ * </ListItemActions>
51
+ * </ListItem>
38
52
  * </List>
39
53
  * ```
40
54
  */
55
+ declare const listVariants: (props?: ({
56
+ inset?: boolean | null | undefined;
57
+ divided?: boolean | null | undefined;
58
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
41
59
  declare const List: React.ForwardRefExoticComponent<Omit<ListProps, "ref"> & React.RefAttributes<HTMLUListElement>>;
42
60
  /**
43
- * Props for an individual Item row within a List.
61
+ * Props for an individual ListItem row within a List.
44
62
  * Extends native `<li>` props with CVA variant styling and optional testing/analytics attributes.
45
63
  */
46
- export type ItemProps = React.ComponentProps<"li"> & {
64
+ export type ListItemProps = React.ComponentProps<"li"> & {
47
65
  /**
48
66
  * Render as the child element instead of `<li>`.
49
67
  * Useful when the item is wrapped by another element (e.g. `<motion.li>`).
@@ -60,7 +78,7 @@ export type ItemProps = React.ComponentProps<"li"> & {
60
78
  variant?: "default" | "filled" | "outline" | "loading";
61
79
  /**
62
80
  * Cross-axis alignment of the row's children (media, content, actions).
63
- * Use `"start"` when ItemMedia (icon, avatar, step number) should pin to the
81
+ * Use `"start"` when ListItemMedia (icon, avatar, step number) should pin to the
64
82
  * first line of multi-line content instead of centering vertically.
65
83
  * @default "center"
66
84
  */
@@ -80,42 +98,79 @@ export type ItemProps = React.ComponentProps<"li"> & {
80
98
  };
81
99
  /**
82
100
  * Row component within a List. Supports `default`, `filled`, `outline`, and `loading` variants.
83
- * Compose with ItemMedia, ItemContent, ItemTitle, ItemDescription, and ItemActions.
101
+ * Compose with ListItemMedia, ListItemContent, ListItemTitle, ListItemDescription, and ListItemActions.
84
102
  */
85
- declare const Item: React.ForwardRefExoticComponent<Omit<ItemProps, "ref"> & React.RefAttributes<HTMLLIElement>>;
86
- /** Props for the ItemMedia sub-component — optional left-side media slot. */
87
- export type ItemMediaProps = React.ComponentProps<"div">;
103
+ declare const ListItem: React.ForwardRefExoticComponent<Omit<ListItemProps, "ref"> & React.RefAttributes<HTMLLIElement>>;
104
+ declare const listItemMediaVariants: (props?: ({
105
+ variant?: "default" | "image" | "icon" | null | undefined;
106
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
107
+ /** Props for the ListItemMedia sub-component — optional left-side media slot. */
108
+ export type ListItemMediaProps = React.ComponentProps<"div"> & {
109
+ /**
110
+ * How the media is framed.
111
+ * - `default` — the icon or avatar as it is
112
+ * - `icon` — a 40px bordered tile, for brand logos and icons
113
+ * - `image` — a 40px rounded crop, for thumbnails
114
+ * @default "default"
115
+ */
116
+ variant?: "default" | "icon" | "image";
117
+ };
88
118
  /**
89
- * Optional left-side media slot for icons or avatars.
119
+ * Optional left-side media slot for icons, avatars, logo tiles or thumbnails.
90
120
  */
91
- declare const ItemMedia: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
92
- /** Props for the ItemContent sub-component — flexible content area within an Item. */
93
- export type ItemContentProps = React.ComponentProps<"div">;
121
+ declare const ListItemMedia: React.ForwardRefExoticComponent<Omit<ListItemMediaProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
122
+ /** Props for the ListItemContent sub-component — flexible content area within an ListItem. */
123
+ export type ListItemContentProps = React.ComponentProps<"div">;
94
124
  /**
95
125
  * Flexible content area that grows to fill available space.
96
- * Place ItemTitle and ItemDescription inside.
126
+ * Place ListItemTitle and ListItemDescription inside.
97
127
  */
98
- declare const ItemContent: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
99
- /** Props for the ItemTitle sub-component — primary text label within an Item. */
100
- export type ItemTitleProps = React.ComponentProps<"div">;
128
+ declare const ListItemContent: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
129
+ /** Props for the ListItemTitle sub-component — primary text label within a ListItem. */
130
+ export type ListItemTitleProps = React.ComponentProps<"div"> & {
131
+ /**
132
+ * Render as the child element, e.g. a `<label>` that names the row's Switch.
133
+ * Works together with `truncate`.
134
+ */
135
+ asChild?: boolean;
136
+ /**
137
+ * Wrap the title to at most two lines and clamp the rest with an ellipsis.
138
+ * When it is clamped, hovering it (or focusing the row's ListItemButton /
139
+ * ListItemLink) shows the full title in a Tooltip. Two lines that fit get
140
+ * no tooltip.
141
+ * @default false
142
+ */
143
+ truncate?: boolean;
144
+ };
101
145
  /**
102
- * Primary text label within an Item.
146
+ * Primary text label within a ListItem.
103
147
  */
104
- declare const ItemTitle: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
105
- /** Props for the ItemDescription sub-component — supporting text beneath ItemTitle. */
106
- export type ItemDescriptionProps = React.ComponentProps<"div">;
148
+ declare const ListItemTitle: React.ForwardRefExoticComponent<Omit<ListItemTitleProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
149
+ /** Props for the ListItemDescription sub-component — supporting text beneath ListItemTitle. */
150
+ export type ListItemDescriptionProps = React.ComponentProps<"div"> & {
151
+ /**
152
+ * Wrap the description to at most two lines and clamp the rest with an
153
+ * ellipsis. When it is clamped, hovering it (or focusing the row's
154
+ * ListItemButton / ListItemLink) shows the full text in a Tooltip. Two lines
155
+ * that fit get no tooltip.
156
+ * @default false
157
+ */
158
+ truncate?: boolean;
159
+ };
107
160
  /**
108
- * Supporting description text beneath ItemTitle.
161
+ * Supporting description text beneath ListItemTitle.
109
162
  */
110
- declare const ItemDescription: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
111
- /** Props for the ItemActions sub-component — right-side slot for action controls. */
112
- export type ItemActionsProps = React.ComponentProps<"div">;
163
+ declare const ListItemDescription: React.ForwardRefExoticComponent<Omit<ListItemDescriptionProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
164
+ /** Props for the ListItemActions sub-component — right-side slot for action controls. */
165
+ export type ListItemActionsProps = React.ComponentProps<"div">;
113
166
  /**
114
- * Right-side slot for action controls such as remove buttons.
167
+ * Right-side slot for trailing content: an icon button, a menu, a Switch, a
168
+ * Badge or Status, a text Button, or several of them side by side. It is at
169
+ * least 36px square, so a single icon button keeps its place.
115
170
  */
116
- declare const ItemActions: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
117
- /** Props for the ItemSubheader sub-component — section heading within a List. */
118
- export type ItemSubheaderProps = React.ComponentProps<"li"> & {
171
+ declare const ListItemActions: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
172
+ /** Props for the ListSubheader sub-component — section heading within a List. */
173
+ export type ListSubheaderProps = React.ComponentProps<"li"> & {
119
174
  /**
120
175
  * Data hook for automated testing.
121
176
  */
@@ -128,11 +183,133 @@ export type ItemSubheaderProps = React.ComponentProps<"li"> & {
128
183
  * @example
129
184
  * ```tsx
130
185
  * <List dataHook="actions-list">
131
- * <ItemSubheader>Suggestions</ItemSubheader>
132
- * <Item variant="default" dataHook="item-1">...</Item>
186
+ * <ListSubheader>Suggestions</ListSubheader>
187
+ * <ListItem variant="default" dataHook="item-1">...</ListItem>
133
188
  * </List>
134
189
  * ```
135
190
  */
136
- declare const ItemSubheader: React.ForwardRefExoticComponent<Omit<ItemSubheaderProps, "ref"> & React.RefAttributes<HTMLLIElement>>;
137
- export { List, Item, ItemMedia, ItemContent, ItemTitle, ItemDescription, ItemActions, ItemSubheader, itemVariants, };
191
+ declare const ListSubheader: React.ForwardRefExoticComponent<Omit<ListSubheaderProps, "ref"> & React.RefAttributes<HTMLLIElement>>;
192
+ /** Props for ListItemButton — a row that runs an action (opens a sheet, a drill-down level). */
193
+ export type ListItemButtonProps = React.ComponentProps<"button"> & {
194
+ /**
195
+ * Data hook for automated testing.
196
+ */
197
+ dataHook?: string;
198
+ /**
199
+ * Tracking element identifier for analytics.
200
+ */
201
+ trackingEl?: string;
202
+ /**
203
+ * Tracking label for analytics context.
204
+ */
205
+ trackingLabel?: string;
206
+ };
207
+ /**
208
+ * Makes the whole row a button. Place it as the only child of an ListItem and put
209
+ * the row's parts (ListItemMedia, ListItemContent, ListItemValue, ListItemChevron) inside it.
210
+ *
211
+ * @example
212
+ * ```tsx
213
+ * <ListItem variant="default" dataHook="location">
214
+ * <ListItemButton dataHook="location-row" onClick={open}>
215
+ * <ListItemContent><ListItemTitle>Location</ListItemTitle></ListItemContent>
216
+ * <ListItemValue>London, UK</ListItemValue>
217
+ * <ListItemChevron />
218
+ * </ListItemButton>
219
+ * </ListItem>
220
+ * ```
221
+ */
222
+ declare const ListItemButton: React.ForwardRefExoticComponent<Omit<ListItemButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
223
+ /** Props for ListItemLink — a row that navigates. */
224
+ export type ListItemLinkProps = React.ComponentProps<"a"> & {
225
+ /**
226
+ * Render as the child element, e.g. a router `<Link>`.
227
+ */
228
+ asChild?: boolean;
229
+ /**
230
+ * Data hook for automated testing.
231
+ */
232
+ dataHook?: string;
233
+ /**
234
+ * Tracking element identifier for analytics.
235
+ */
236
+ trackingEl?: string;
237
+ /**
238
+ * Tracking label for analytics context.
239
+ */
240
+ trackingLabel?: string;
241
+ };
242
+ /**
243
+ * Makes the whole row a link. Place it as the only child of an ListItem; use
244
+ * `asChild` to render a router link.
245
+ *
246
+ * @example
247
+ * ```tsx
248
+ * <ListItem variant="outline" dataHook="billing">
249
+ * <ListItemLink asChild dataHook="billing-link">
250
+ * <NextLink href="/settings/billing">
251
+ * <ListItemContent><ListItemTitle>Billing</ListItemTitle></ListItemContent>
252
+ * <ListItemChevron />
253
+ * </NextLink>
254
+ * </ListItemLink>
255
+ * </ListItem>
256
+ * ```
257
+ */
258
+ declare const ListItemLink: React.ForwardRefExoticComponent<Omit<ListItemLinkProps, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
259
+ /** Props for ListItemValue — the current value shown at the end of a drill-down row. */
260
+ export type ListItemValueProps = React.ComponentProps<"span">;
261
+ /**
262
+ * The row's current value, before the chevron: muted, right-aligned, and cut
263
+ * off with an ellipsis past half the row so the title always keeps its room.
264
+ */
265
+ declare const ListItemValue: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
266
+ /** Props for ListItemChevron — the trailing arrow of a row that opens something. */
267
+ export type ListItemChevronProps = React.ComponentProps<typeof ChevronRight>;
268
+ /**
269
+ * Trailing chevron for a row that navigates or drills down. Decorative: the
270
+ * row's button or link carries the meaning.
271
+ */
272
+ declare const ListItemChevron: React.ForwardRefExoticComponent<Omit<import('@brightlocal/icons').WrappedLucideProps & React.RefAttributes<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
273
+ /** Props for ListSeparator — a hairline between two rows or groups. */
274
+ export type ListSeparatorProps = React.ComponentProps<"li">;
275
+ /**
276
+ * A hairline between rows. Hidden from assistive tech so the list's item
277
+ * count stays the number of rows. For a line between every row, use
278
+ * `<List divided>` instead.
279
+ */
280
+ declare const ListSeparator: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React.RefAttributes<HTMLLIElement>>;
281
+ /** @deprecated Use `ListItem`. Removed in 4.0. */
282
+ declare const Item: React.ForwardRefExoticComponent<Omit<ListItemProps, "ref"> & React.RefAttributes<HTMLLIElement>>;
283
+ /** @deprecated Use `ListItemMedia`. Removed in 4.0. */
284
+ declare const ItemMedia: React.ForwardRefExoticComponent<Omit<ListItemMediaProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
285
+ /** @deprecated Use `ListItemContent`. Removed in 4.0. */
286
+ declare const ItemContent: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
287
+ /** @deprecated Use `ListItemTitle`. Removed in 4.0. */
288
+ declare const ItemTitle: React.ForwardRefExoticComponent<Omit<ListItemTitleProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
289
+ /** @deprecated Use `ListItemDescription`. Removed in 4.0. */
290
+ declare const ItemDescription: React.ForwardRefExoticComponent<Omit<ListItemDescriptionProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
291
+ /** @deprecated Use `ListItemActions`. Removed in 4.0. */
292
+ declare const ItemActions: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
293
+ /** @deprecated Use `ListSubheader`. Removed in 4.0. */
294
+ declare const ItemSubheader: React.ForwardRefExoticComponent<Omit<ListSubheaderProps, "ref"> & React.RefAttributes<HTMLLIElement>>;
295
+ /** @deprecated Use `listItemVariants`. Removed in 4.0. */
296
+ declare const itemVariants: (props?: ({
297
+ variant?: "default" | "filled" | "outline" | "loading" | null | undefined;
298
+ align?: "start" | "center" | null | undefined;
299
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
300
+ /** @deprecated Use `ListItemProps`. Removed in 4.0. */
301
+ export type ItemProps = ListItemProps;
302
+ /** @deprecated Use `ListItemMediaProps`. Removed in 4.0. */
303
+ export type ItemMediaProps = ListItemMediaProps;
304
+ /** @deprecated Use `ListItemContentProps`. Removed in 4.0. */
305
+ export type ItemContentProps = ListItemContentProps;
306
+ /** @deprecated Use `ListItemTitleProps`. Removed in 4.0. */
307
+ export type ItemTitleProps = ListItemTitleProps;
308
+ /** @deprecated Use `ListItemDescriptionProps`. Removed in 4.0. */
309
+ export type ItemDescriptionProps = ListItemDescriptionProps;
310
+ /** @deprecated Use `ListItemActionsProps`. Removed in 4.0. */
311
+ export type ItemActionsProps = ListItemActionsProps;
312
+ /** @deprecated Use `ListSubheaderProps`. Removed in 4.0. */
313
+ export type ItemSubheaderProps = ListSubheaderProps;
314
+ export { List, ListItem, ListItemButton, ListItemLink, ListItemMedia, ListItemContent, ListItemTitle, ListItemDescription, ListItemValue, ListItemChevron, ListItemActions, ListSubheader, ListSeparator, listVariants, listItemVariants, listItemMediaVariants, Item, ItemMedia, ItemContent, ItemTitle, ItemDescription, ItemActions, ItemSubheader, itemVariants, };
138
315
  //# sourceMappingURL=list.d.ts.map
@@ -1 +1 @@
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