@ledgerhq/lumen-ui-react 0.1.15 → 0.1.16

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 (59) hide show
  1. package/ai-rules/RULES.md +1 -1
  2. package/dist/i18n/i18n.d.ts.map +1 -1
  3. package/dist/index.d.ts +0 -1
  4. package/dist/index.d.ts.map +1 -1
  5. package/dist/index.js +126 -128
  6. package/dist/lib/Components/AmountInput/AmountInput.d.ts.map +1 -1
  7. package/dist/lib/Components/Avatar/Avatar.js +24 -24
  8. package/dist/lib/Components/BaseInput/BaseInput.d.ts.map +1 -1
  9. package/dist/lib/Components/BaseInput/BaseInput.js +58 -58
  10. package/dist/lib/Components/CardButton/CardButton.js +10 -10
  11. package/dist/lib/Components/Dialog/Dialog.js +39 -39
  12. package/dist/lib/Components/Dialog/types.d.ts +3 -3
  13. package/dist/lib/Components/Icon/Icon.js +5 -5
  14. package/dist/lib/Components/Icon/createIcon.d.ts.map +1 -1
  15. package/dist/lib/Components/Link/Link.d.ts.map +1 -1
  16. package/dist/lib/Components/Link/Link.js +25 -32
  17. package/dist/lib/Components/ListItem/ListItem.d.ts +17 -28
  18. package/dist/lib/Components/ListItem/ListItem.d.ts.map +1 -1
  19. package/dist/lib/Components/ListItem/ListItem.js +81 -93
  20. package/dist/lib/Components/ListItem/types.d.ts +13 -32
  21. package/dist/lib/Components/ListItem/types.d.ts.map +1 -1
  22. package/dist/lib/Components/Menu/Menu.d.ts +4 -4
  23. package/dist/lib/Components/Menu/Menu.d.ts.map +1 -1
  24. package/dist/lib/Components/NavBar/NavBar.d.ts +0 -1
  25. package/dist/lib/Components/NavBar/NavBar.d.ts.map +1 -1
  26. package/dist/lib/Components/Popover/Popover.js +7 -7
  27. package/dist/lib/Components/Popover/types.d.ts +3 -3
  28. package/dist/lib/Components/SegmentedControl/SegmentedControl.d.ts +1 -1
  29. package/dist/lib/Components/SegmentedControl/SegmentedControl.d.ts.map +1 -1
  30. package/dist/lib/Components/SegmentedControl/SegmentedControl.js +97 -81
  31. package/dist/lib/Components/SegmentedControl/SegmentedControlContext.d.ts +1 -0
  32. package/dist/lib/Components/SegmentedControl/SegmentedControlContext.d.ts.map +1 -1
  33. package/dist/lib/Components/SegmentedControl/types.d.ts +7 -0
  34. package/dist/lib/Components/SegmentedControl/types.d.ts.map +1 -1
  35. package/dist/lib/Components/SegmentedControl/usePillElementLayoutEffect.d.ts +5 -6
  36. package/dist/lib/Components/SegmentedControl/usePillElementLayoutEffect.d.ts.map +1 -1
  37. package/dist/lib/Components/SegmentedControl/usePillElementLayoutEffect.js +30 -25
  38. package/dist/lib/Components/Select/Select.js +9 -9
  39. package/dist/lib/Components/SideBar/SideBar.d.ts +1 -1
  40. package/dist/lib/Components/SideBar/SideBar.d.ts.map +1 -1
  41. package/dist/lib/Components/SideBar/SideBar.js +93 -89
  42. package/dist/lib/Components/SideBar/types.d.ts +7 -1
  43. package/dist/lib/Components/SideBar/types.d.ts.map +1 -1
  44. package/dist/lib/Components/Stepper/Stepper.d.ts +5 -6
  45. package/dist/lib/Components/Stepper/Stepper.d.ts.map +1 -1
  46. package/dist/lib/Components/Stepper/Stepper.js +100 -102
  47. package/dist/lib/Components/Stepper/types.d.ts +2 -2
  48. package/dist/lib/Components/Stepper/types.d.ts.map +1 -1
  49. package/dist/lib/Components/Tag/Tag.d.ts.map +1 -1
  50. package/dist/lib/Components/Tag/Tag.js +1 -1
  51. package/dist/lib/Components/Tooltip/Tooltip.d.ts +2 -2
  52. package/dist/lib/Components/Tooltip/Tooltip.d.ts.map +1 -1
  53. package/dist/lib/Components/TriggerButton/TriggerButton.js +8 -8
  54. package/dist/node_modules/i18next/dist/esm/i18next.js +45 -47
  55. package/dist/package.json +1 -1
  56. package/dist/utils/icon-template.d.ts.map +1 -1
  57. package/package.json +1 -1
  58. package/dist/lib/Patterns/index.d.ts +0 -3
  59. package/dist/lib/Patterns/index.d.ts.map +0 -1
@@ -18,10 +18,10 @@ const h = f(
18
18
  ), x = ({
19
19
  ref: i,
20
20
  className: d,
21
- appearance: l,
22
- icon: n,
23
- title: o,
24
- description: s,
21
+ appearance: o,
22
+ icon: l,
23
+ title: n,
24
+ description: t,
25
25
  hideChevron: r,
26
26
  disabled: u,
27
27
  ...b
@@ -29,7 +29,7 @@ const h = f(
29
29
  const c = m({
30
30
  consumerName: "CardButton",
31
31
  mergeWith: { disabled: u }
32
- }), t = n;
32
+ }), s = l;
33
33
  return /* @__PURE__ */ a(
34
34
  "button",
35
35
  {
@@ -37,22 +37,22 @@ const h = f(
37
37
  className: p(
38
38
  d,
39
39
  h({
40
- appearance: l
40
+ appearance: o
41
41
  })
42
42
  ),
43
43
  disabled: c,
44
44
  ...b,
45
45
  children: [
46
- t && /* @__PURE__ */ e(t, { size: 24, className: "shrink-0" }),
46
+ s && /* @__PURE__ */ e(s, { size: 24 }),
47
47
  /* @__PURE__ */ a("div", { className: "flex min-w-0 flex-1 flex-col gap-4 text-left", children: [
48
- /* @__PURE__ */ e("div", { className: "min-w-0 truncate body-2-semi-bold", children: o }),
49
- s && /* @__PURE__ */ e("div", { className: "line-clamp-2 min-w-0 body-3 text-muted group-disabled:text-disabled", children: s })
48
+ /* @__PURE__ */ e("div", { className: "min-w-0 truncate body-2-semi-bold", children: n }),
49
+ t && /* @__PURE__ */ e("div", { className: "line-clamp-2 min-w-0 body-3 text-muted group-disabled:text-disabled", children: t })
50
50
  ] }),
51
51
  !r && /* @__PURE__ */ e(
52
52
  v,
53
53
  {
54
54
  size: 24,
55
- className: "shrink-0 text-muted group-disabled:text-disabled"
55
+ className: "text-muted group-disabled:text-disabled"
56
56
  }
57
57
  )
58
58
  ]
@@ -1,8 +1,8 @@
1
1
  import { jsx as o, jsxs as m } from "react/jsx-runtime";
2
- import { createSafeContext as u, cn as l } from "../../../libs/utils-shared/dist/index.js";
2
+ import { createSafeContext as f, cn as l } from "../../../libs/utils-shared/dist/index.js";
3
3
  import * as n from "@radix-ui/react-dialog";
4
- import { cva as f } from "class-variance-authority";
5
- const [y, r] = u("Dialog"), h = f(
4
+ import { cva as u } from "class-variance-authority";
5
+ const [y, r] = f("Dialog"), p = u(
6
6
  [
7
7
  "flex w-400 max-w-[calc(100%-2rem)] flex-col overflow-hidden rounded-2xl bg-canvas-sheet pb-24",
8
8
  "fixed top-[50%] left-[50%] z-dialog-content translate-[-50%]",
@@ -11,33 +11,33 @@ const [y, r] = u("Dialog"), h = f(
11
11
  {
12
12
  variants: {
13
13
  height: {
14
- hug: "max-h-560",
14
+ fit: "max-h-560",
15
15
  fixed: "h-560"
16
16
  }
17
17
  },
18
18
  defaultVariants: {
19
- height: "hug"
19
+ height: "fit"
20
20
  }
21
21
  }
22
22
  );
23
- function k({ height: a = "hug", ...t }) {
24
- return /* @__PURE__ */ o(y, { value: { height: a }, children: /* @__PURE__ */ o(n.Root, { "data-slot": "dialog", ...t }) });
23
+ function k({ height: t = "fit", ...a }) {
24
+ return /* @__PURE__ */ o(y, { value: { height: t }, children: /* @__PURE__ */ o(n.Root, { "data-slot": "dialog", ...a }) });
25
25
  }
26
- function w({ ...a }) {
27
- return /* @__PURE__ */ o(n.Trigger, { "data-slot": "dialog-trigger", ...a });
26
+ function w({ ...t }) {
27
+ return /* @__PURE__ */ o(n.Trigger, { "data-slot": "dialog-trigger", ...t });
28
28
  }
29
- function p({
30
- ...a
29
+ function x({
30
+ ...t
31
31
  }) {
32
- return /* @__PURE__ */ o(n.Portal, { "data-slot": "dialog-portal", ...a });
32
+ return /* @__PURE__ */ o(n.Portal, { "data-slot": "dialog-portal", ...t });
33
33
  }
34
- const s = ({ ref: a, className: t, ...e }) => /* @__PURE__ */ o(
34
+ const s = ({ ref: t, className: a, ...e }) => /* @__PURE__ */ o(
35
35
  n.Overlay,
36
36
  {
37
- ref: a,
37
+ ref: t,
38
38
  "data-slot": "dialog-overlay",
39
39
  className: l(
40
- t,
40
+ a,
41
41
  "fixed inset-0 z-dialog-overlay bg-canvas-overlay backdrop-blur-sm data-[state=closed]:animate-fade-out data-[state=open]:animate-fade-in"
42
42
  ),
43
43
  ...e
@@ -45,84 +45,84 @@ const s = ({ ref: a, className: t, ...e }) => /* @__PURE__ */ o(
45
45
  );
46
46
  s.displayName = "DialogOverlay";
47
47
  function B({
48
- className: a,
49
- children: t,
48
+ className: t,
49
+ children: a,
50
50
  ...e
51
51
  }) {
52
52
  const { height: i } = r({
53
53
  consumerName: "DialogContent",
54
54
  contextRequired: !0
55
55
  });
56
- return /* @__PURE__ */ m(p, { "data-slot": "dialog-portal", children: [
56
+ return /* @__PURE__ */ m(x, { "data-slot": "dialog-portal", children: [
57
57
  /* @__PURE__ */ o(s, {}),
58
58
  /* @__PURE__ */ o(
59
59
  n.Content,
60
60
  {
61
61
  "data-slot": "dialog-content",
62
- className: l(h({ height: i }), a),
62
+ className: l(p({ height: i }), t),
63
63
  ...e,
64
- children: t
64
+ children: a
65
65
  }
66
66
  )
67
67
  ] });
68
68
  }
69
- const x = ({
70
- ref: a,
71
- className: t,
69
+ const h = ({
70
+ ref: t,
71
+ className: a,
72
72
  children: e,
73
73
  scrollbarWidth: i = "none",
74
74
  style: d,
75
- ...g
75
+ ...c
76
76
  }) => {
77
- const { height: c } = r({
77
+ const { height: g } = r({
78
78
  consumerName: "DialogBody",
79
79
  contextRequired: !0
80
80
  });
81
81
  return /* @__PURE__ */ o(
82
82
  "div",
83
83
  {
84
- ref: a,
84
+ ref: t,
85
85
  "data-slot": "dialog-body",
86
86
  style: d,
87
87
  className: l(
88
88
  "-mb-24 flex min-h-0 grow flex-col overflow-y-auto px-24 pb-24",
89
- c === "hug" ? "basis-auto" : "basis-0",
90
- t,
89
+ g === "fit" ? "basis-auto" : "basis-0",
90
+ a,
91
91
  i === "auto" ? "scrollbar-custom" : "scrollbar-none"
92
92
  ),
93
- ...g,
93
+ ...c,
94
94
  children: e
95
95
  }
96
96
  );
97
97
  };
98
- x.displayName = "DialogBody";
98
+ h.displayName = "DialogBody";
99
99
  const v = ({
100
- ref: a,
101
- className: t,
100
+ ref: t,
101
+ className: a,
102
102
  children: e,
103
103
  ...i
104
104
  }) => /* @__PURE__ */ o(
105
105
  "div",
106
106
  {
107
- ref: a,
107
+ ref: t,
108
108
  "data-slot": "dialog-body-sticky-content",
109
- className: l("sticky top-0 bg-canvas-sheet py-8", t),
109
+ className: l("sticky top-0 bg-canvas-sheet py-8", a),
110
110
  ...i,
111
111
  children: e
112
112
  }
113
113
  );
114
114
  v.displayName = "DialogBodyStickyContent";
115
115
  const D = ({
116
- ref: a,
117
- className: t,
116
+ ref: t,
117
+ className: a,
118
118
  children: e,
119
119
  ...i
120
120
  }) => /* @__PURE__ */ o(
121
121
  "div",
122
122
  {
123
- ref: a,
123
+ ref: t,
124
124
  "data-slot": "dialog-footer",
125
- className: l("flex shrink-0 justify-end gap-8 px-24 pt-24", t),
125
+ className: l("flex shrink-0 justify-end gap-8 px-24 pt-24", a),
126
126
  ...i,
127
127
  children: e
128
128
  }
@@ -130,7 +130,7 @@ const D = ({
130
130
  D.displayName = "DialogFooter";
131
131
  export {
132
132
  k as Dialog,
133
- x as DialogBody,
133
+ h as DialogBody,
134
134
  v as DialogBodyStickyContent,
135
135
  B as DialogContent,
136
136
  D as DialogFooter,
@@ -1,5 +1,5 @@
1
1
  import { ComponentPropsWithRef, ReactNode } from 'react';
2
- export type DialogHeight = 'hug' | 'fixed';
2
+ export type DialogHeight = 'fit' | 'fixed';
3
3
  export type DialogProps = {
4
4
  /**
5
5
  * The content to display inside the dialog.
@@ -22,9 +22,9 @@ export type DialogProps = {
22
22
  defaultOpen?: boolean;
23
23
  /**
24
24
  * The height behavior of the dialog.
25
- * - `hug`: Content-fit height up to max 560px (default)
25
+ * - `fit`: Content-fit height up to max 560px (default)
26
26
  * - `fixed`: Always exactly 560px height
27
- * @default 'hug'
27
+ * @default 'fit'
28
28
  */
29
29
  height?: DialogHeight;
30
30
  /**
@@ -1,7 +1,7 @@
1
1
  import { cn as s } from "../../../libs/utils-shared/dist/index.js";
2
2
  import { cva as a } from "class-variance-authority";
3
3
  import { createElement as k } from "react";
4
- const l = a("inline-block", {
4
+ const h = a("inline-block shrink-0", {
5
5
  variants: {
6
6
  size: {
7
7
  12: "icon-w-12 icon-h-12 icon-stroke-12",
@@ -17,7 +17,7 @@ const l = a("inline-block", {
17
17
  defaultVariants: {
18
18
  size: 24
19
19
  }
20
- }), h = ({
20
+ }), l = ({
21
21
  ref: o,
22
22
  size: n = 24,
23
23
  className: i = "",
@@ -33,12 +33,12 @@ const l = a("inline-block", {
33
33
  "aria-hidden": "true",
34
34
  xmlns: r,
35
35
  viewBox: e,
36
- className: s(i, l({ size: n }), "inline-block"),
36
+ className: s(i, h({ size: n }), "inline-block"),
37
37
  ...t
38
38
  },
39
39
  c
40
40
  );
41
- h.displayName = "Icon";
41
+ l.displayName = "Icon";
42
42
  export {
43
- h as Icon
43
+ l as Icon
44
44
  };
@@ -1 +1 @@
1
- {"version":3,"file":"createIcon.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Icon/createIcon.ts"],"names":[],"mappings":"AAKA,OAAO,EAAiB,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEhD,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC;;;;;;GAMG;AACH,QAAA,MAAM,UAAU,GACd,UAAU,MAAM,EAChB,SAAS,KAAK,CAAC,YAAY,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC;6CAOjD,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC;;CAkB/B,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"createIcon.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Icon/createIcon.ts"],"names":[],"mappings":"AAKA,OAAO,EAAiB,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEhD,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC;;;;;;GAMG;AACH,QAAA,MAAM,UAAU,GACd,UAAU,MAAM,EAChB,SAAS,KAAK,CAAC,YAAY,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC;6CAOjD,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC;;CAkB/B,CAAC;AAGF,eAAe,UAAU,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Link/Link.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAmCpC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,eAAO,MAAM,IAAI;6HAYd,SAAS;;CAsDX,CAAC"}
1
+ {"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Link/Link.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAmCpC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,eAAO,MAAM,IAAI;6HAYd,SAAS;;CAgDX,CAAC"}
@@ -1,9 +1,9 @@
1
1
  import { jsx as e, jsxs as l, Fragment as c } from "react/jsx-runtime";
2
- import { useDisabledContext as h, cn as x } from "../../../libs/utils-shared/dist/index.js";
2
+ import { useDisabledContext as x, cn as h } from "../../../libs/utils-shared/dist/index.js";
3
3
  import { Slot as k } from "@radix-ui/react-slot";
4
- import { cva as N } from "class-variance-authority";
5
- import { ExternalLink as g } from "../../Symbols/Icons/ExternalLink.js";
6
- const y = N(
4
+ import { cva as g } from "class-variance-authority";
5
+ import { ExternalLink as y } from "../../Symbols/Icons/ExternalLink.js";
6
+ const z = g(
7
7
  "inline-flex w-fit max-w-full items-center justify-center transition-colors focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-focus",
8
8
  {
9
9
  variants: {
@@ -33,62 +33,55 @@ const y = N(
33
33
  disabled: !1
34
34
  }
35
35
  }
36
- ), z = ({
36
+ ), N = ({
37
37
  ref: d,
38
38
  className: m,
39
- children: s,
39
+ children: a,
40
40
  appearance: p,
41
- size: t = "inherit",
41
+ size: i = "inherit",
42
42
  underline: f = !0,
43
43
  icon: u,
44
44
  isExternal: n = !1,
45
- asChild: i = !1,
45
+ asChild: t = !1,
46
46
  disabled: b,
47
47
  ...v
48
48
  }) => {
49
- const a = h({
49
+ const s = x({
50
50
  consumerName: "Link",
51
51
  mergeWith: { disabled: b }
52
- }), r = t ? {
52
+ }), r = i ? {
53
53
  sm: 16,
54
54
  md: 20
55
- }[t] : 20, o = u;
55
+ }[i] : 20, o = u;
56
56
  return /* @__PURE__ */ e(
57
- i ? k : "a",
57
+ t ? k : "a",
58
58
  {
59
59
  ref: d,
60
- className: x(
60
+ className: h(
61
61
  m,
62
- y({
62
+ z({
63
63
  appearance: p,
64
- size: t,
64
+ size: i,
65
65
  underline: f,
66
- disabled: a
66
+ disabled: s
67
67
  })
68
68
  ),
69
- "aria-disabled": a || void 0,
70
- target: n && !i ? "_blank" : void 0,
71
- rel: n && !i ? "noopener noreferrer" : void 0,
69
+ "aria-disabled": s || void 0,
70
+ target: n && !t ? "_blank" : void 0,
71
+ rel: n && !t ? "noopener noreferrer" : void 0,
72
72
  ...v,
73
- children: i ? s : /* @__PURE__ */ l(c, { children: [
74
- o && /* @__PURE__ */ e(o, { size: r, className: "shrink-0" }),
75
- /* @__PURE__ */ e("span", { className: "min-w-0 truncate", children: s }),
73
+ children: t ? a : /* @__PURE__ */ l(c, { children: [
74
+ o && /* @__PURE__ */ e(o, { size: r }),
75
+ /* @__PURE__ */ e("span", { className: "min-w-0 truncate", children: a }),
76
76
  n && /* @__PURE__ */ l(c, { children: [
77
- /* @__PURE__ */ e(
78
- g,
79
- {
80
- size: r,
81
- className: "shrink-0",
82
- "aria-hidden": "true"
83
- }
84
- ),
77
+ /* @__PURE__ */ e(y, { size: r, "aria-hidden": "true" }),
85
78
  /* @__PURE__ */ e("span", { className: "sr-only", children: "(opens in a new tab)" })
86
79
  ] })
87
80
  ] })
88
81
  }
89
82
  );
90
83
  };
91
- z.displayName = "Link";
84
+ N.displayName = "Link";
92
85
  export {
93
- z as Link
86
+ N as Link
94
87
  };
@@ -1,4 +1,4 @@
1
- import { ListItemContentProps, ListItemDescriptionProps, ListItemIconProps, ListItemLeadingProps, ListItemProps, ListItemSpotProps, ListItemTitleProps, ListItemTrailingProps, ListItemTruncateProps } from './types';
1
+ import { ListItemContentProps, ListItemDescriptionProps, ListItemLeadingProps, ListItemProps, ListItemTitleProps, ListItemTrailingProps, ListItemContentRowProps } from './types';
2
2
  /**
3
3
  * A flexible list item component that provides a composable structure for displaying
4
4
  * interactive list items with leading content, title, description, and trailing content.
@@ -10,7 +10,7 @@ import { ListItemContentProps, ListItemDescriptionProps, ListItemIconProps, List
10
10
  *
11
11
  * <ListItem onClick={() => console.log('Clicked!')}>
12
12
  * <ListItemLeading>
13
- * <ListItemSpot appearance="icon" icon={Wallet} />
13
+ * <Spot size={48} appearance="icon" icon={Wallet} />
14
14
  * <ListItemContent>
15
15
  * <ListItemTitle>Balance</ListItemTitle>
16
16
  * <ListItemDescription>Optional description</ListItemDescription>
@@ -27,32 +27,40 @@ export declare const ListItem: {
27
27
  };
28
28
  /**
29
29
  * Container for the leading (left) part of the list item.
30
- * Contains the visual element (ListItemSpot, Avatar, Icon) and the content (title + description).
30
+ * Contains the visual element (Spot, Avatar, Icon) and the content (title + description).
31
31
  */
32
32
  export declare const ListItemLeading: {
33
- ({ ref, children, className, }: ListItemLeadingProps): import("react/jsx-runtime").JSX.Element;
33
+ ({ ref, children, className, ...props }: ListItemLeadingProps): import("react/jsx-runtime").JSX.Element;
34
34
  displayName: string;
35
35
  };
36
36
  /**
37
37
  * Container for the text content (title and description) within the leading area.
38
38
  */
39
39
  export declare const ListItemContent: {
40
- ({ ref, children, className, }: ListItemContentProps): import("react/jsx-runtime").JSX.Element;
40
+ ({ ref, children, className, ...props }: ListItemContentProps): import("react/jsx-runtime").JSX.Element;
41
+ displayName: string;
42
+ };
43
+ /**
44
+ * Horizontal row container within ListItemContent to place a title or description
45
+ * alongside additional inline content (e.g. Tag) while preserving text truncation.
46
+ */
47
+ export declare const ListItemContentRow: {
48
+ ({ ref, children, className, ...props }: ListItemContentRowProps): import("react/jsx-runtime").JSX.Element;
41
49
  displayName: string;
42
50
  };
43
51
  /**
44
52
  * The main title of the list item.
45
53
  */
46
54
  export declare const ListItemTitle: {
47
- ({ ref, children, className, }: ListItemTitleProps): import("react/jsx-runtime").JSX.Element;
55
+ ({ ref, children, className, ...props }: ListItemTitleProps): import("react/jsx-runtime").JSX.Element;
48
56
  displayName: string;
49
57
  };
50
58
  /**
51
- * Optional description text below the title. Can include inline elements like Tag.
59
+ * Optional description text below the title.
52
60
  * Automatically applies disabled styling when the parent ListItem is disabled.
53
61
  */
54
62
  export declare const ListItemDescription: {
55
- ({ ref, children, className, }: ListItemDescriptionProps): import("react/jsx-runtime").JSX.Element;
63
+ ({ ref, children, className, ...props }: ListItemDescriptionProps): import("react/jsx-runtime").JSX.Element;
56
64
  displayName: string;
57
65
  };
58
66
  /**
@@ -60,26 +68,7 @@ export declare const ListItemDescription: {
60
68
  * Used for icons, switches, values, tags, chevrons, etc.
61
69
  */
62
70
  export declare const ListItemTrailing: {
63
- ({ ref, children, className, }: ListItemTrailingProps): import("react/jsx-runtime").JSX.Element;
64
- displayName: string;
65
- };
66
- /**
67
- * Spot adapter for ListItem. Automatically inherits disabled state from parent ListItem.
68
- */
69
- export declare const ListItemSpot: {
70
- (props: ListItemSpotProps): import("react/jsx-runtime").JSX.Element;
71
- displayName: string;
72
- };
73
- /**
74
- * Icon adapter for ListItem. Automatically applies disabled styling from parent ListItem.
75
- * Fixed at size 24 for consistent list item appearance.
76
- */
77
- export declare const ListItemIcon: {
78
- ({ ref, icon: Icon, className, ...props }: ListItemIconProps): import("react/jsx-runtime").JSX.Element;
79
- displayName: string;
80
- };
81
- export declare const ListItemTruncate: {
82
- ({ children, className, }: ListItemTruncateProps): import("react/jsx-runtime").JSX.Element;
71
+ ({ ref, children, className, ...props }: ListItemTrailingProps): import("react/jsx-runtime").JSX.Element;
83
72
  displayName: string;
84
73
  };
85
74
  //# sourceMappingURL=ListItem.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/ListItem/ListItem.tsx"],"names":[],"mappings":"AAOA,OAAO,EACL,oBAAoB,EACpB,wBAAwB,EACxB,iBAAiB,EACjB,oBAAoB,EACpB,aAAa,EACb,iBAAiB,EACjB,kBAAkB,EAClB,qBAAqB,EACrB,qBAAqB,EACtB,MAAM,SAAS,CAAC;AAOjB;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,QAAQ;wBAAuB,aAAa;;CAyBxD,CAAC;AAIF;;;GAGG;AACH,eAAO,MAAM,eAAe;oCAIzB,oBAAoB;;CAStB,CAAC;AAIF;;GAEG;AACH,eAAO,MAAM,eAAe;oCAIzB,oBAAoB;;CAStB,CAAC;AAIF;;GAEG;AACH,eAAO,MAAM,aAAa;oCAIvB,kBAAkB;;CAuBpB,CAAC;AAIF;;;GAGG;AACH,eAAO,MAAM,mBAAmB;oCAI7B,wBAAwB;;CAuB1B,CAAC;AAIF;;;GAGG;AACH,eAAO,MAAM,gBAAgB;oCAI1B,qBAAqB;;CAoBvB,CAAC;AAIF;;GAEG;AACH,eAAO,MAAM,YAAY;YAAW,iBAAiB;;CAOpD,CAAC;AAIF;;;GAGG;AACH,eAAO,MAAM,YAAY;+CAKtB,iBAAiB;;CAenB,CAAC;AAIF,eAAO,MAAM,gBAAgB;+BAG1B,qBAAqB;;CAEvB,CAAC"}
1
+ {"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/ListItem/ListItem.tsx"],"names":[],"mappings":"AAMA,OAAO,EACL,oBAAoB,EACpB,wBAAwB,EACxB,oBAAoB,EACpB,aAAa,EACb,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,SAAS,CAAC;AAOjB;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,QAAQ;wBAAuB,aAAa;;CAyBxD,CAAC;AAIF;;;GAGG;AACH,eAAO,MAAM,eAAe;6CAKzB,oBAAoB;;CAUtB,CAAC;AAIF;;GAEG;AACH,eAAO,MAAM,eAAe;6CAKzB,oBAAoB;;CAUtB,CAAC;AAIF;;;GAGG;AACH,eAAO,MAAM,kBAAkB;6CAK5B,uBAAuB;;CAUzB,CAAC;AAIF;;GAEG;AACH,eAAO,MAAM,aAAa;6CAKvB,kBAAkB;;CAwBpB,CAAC;AAIF;;;GAGG;AACH,eAAO,MAAM,mBAAmB;6CAK7B,wBAAwB;;CAwB1B,CAAC;AAIF;;;GAGG;AACH,eAAO,MAAM,gBAAgB;6CAK1B,qBAAqB;;CAqBvB,CAAC"}