@ledgerhq/lumen-ui-react 0.1.47 → 0.1.49

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 (72) hide show
  1. package/dist/index.js +227 -219
  2. package/dist/lib/Components/AmountDisplay/AmountDisplay.js +10 -10
  3. package/dist/lib/Components/AmountInput/useAmountInputValue/useAmountInputValue.js +3 -3
  4. package/dist/lib/Components/Avatar/Avatar.d.ts +1 -1
  5. package/dist/lib/Components/Avatar/Avatar.d.ts.map +1 -1
  6. package/dist/lib/Components/Avatar/Avatar.js +97 -57
  7. package/dist/lib/Components/Avatar/index.d.ts +1 -0
  8. package/dist/lib/Components/Avatar/index.d.ts.map +1 -1
  9. package/dist/lib/Components/Avatar/resolveAvatarColor.d.ts +9 -0
  10. package/dist/lib/Components/Avatar/resolveAvatarColor.d.ts.map +1 -0
  11. package/dist/lib/Components/Avatar/resolveAvatarColor.js +18 -0
  12. package/dist/lib/Components/Avatar/types.d.ts +23 -8
  13. package/dist/lib/Components/Avatar/types.d.ts.map +1 -1
  14. package/dist/lib/Components/AvatarButton/AvatarButton.d.ts +6 -0
  15. package/dist/lib/Components/AvatarButton/AvatarButton.d.ts.map +1 -0
  16. package/dist/lib/Components/AvatarButton/AvatarButton.js +52 -0
  17. package/dist/lib/Components/AvatarButton/index.d.ts +3 -0
  18. package/dist/lib/Components/AvatarButton/index.d.ts.map +1 -0
  19. package/dist/lib/Components/AvatarButton/types.d.ts +4 -0
  20. package/dist/lib/Components/AvatarButton/types.d.ts.map +1 -0
  21. package/dist/lib/Components/BaseInput/BaseInput.js +6 -6
  22. package/dist/lib/Components/BaseTag/BaseTag.js +4 -4
  23. package/dist/lib/Components/Button/BaseButton.d.ts +2 -2
  24. package/dist/lib/Components/Button/Button.js +8 -8
  25. package/dist/lib/Components/Card/Card.js +14 -14
  26. package/dist/lib/Components/CardButton/CardButton.js +6 -6
  27. package/dist/lib/Components/DataTable/DataTable.js +10 -10
  28. package/dist/lib/Components/Divider/Divider.js +4 -4
  29. package/dist/lib/Components/DotIcon/DotIcon.js +5 -5
  30. package/dist/lib/Components/DotIndicator/getDotIndicatorProps.d.ts +32 -0
  31. package/dist/lib/Components/DotIndicator/getDotIndicatorProps.d.ts.map +1 -1
  32. package/dist/lib/Components/DotIndicator/getDotIndicatorProps.js +7 -4
  33. package/dist/lib/Components/Icon/createIcon.js +6 -6
  34. package/dist/lib/Components/Link/Link.js +6 -6
  35. package/dist/lib/Components/ListItem/ListItem.js +4 -4
  36. package/dist/lib/Components/MediaBanner/MediaBanner.d.ts +1 -1
  37. package/dist/lib/Components/MediaBanner/MediaBanner.d.ts.map +1 -1
  38. package/dist/lib/Components/MediaBanner/MediaBanner.js +94 -75
  39. package/dist/lib/Components/MediaCard/MediaCard.js +4 -4
  40. package/dist/lib/Components/MediaImage/MediaImage.js +6 -6
  41. package/dist/lib/Components/Menu/Menu.js +33 -33
  42. package/dist/lib/Components/NavBar/CoinCapsule.js +4 -4
  43. package/dist/lib/Components/NavBar/NavBar.js +9 -9
  44. package/dist/lib/Components/Popover/Popover.js +14 -14
  45. package/dist/lib/Components/SegmentedControl/SegmentedControl.js +11 -11
  46. package/dist/lib/Components/SideBar/SideBar.js +34 -34
  47. package/dist/lib/Components/Spot/Spot.js +4 -4
  48. package/dist/lib/Components/Stepper/Stepper.js +6 -6
  49. package/dist/lib/Components/Table/Table.d.ts +24 -3
  50. package/dist/lib/Components/Table/Table.d.ts.map +1 -1
  51. package/dist/lib/Components/Table/Table.js +270 -182
  52. package/dist/lib/Components/Table/types.d.ts +63 -28
  53. package/dist/lib/Components/Table/types.d.ts.map +1 -1
  54. package/dist/lib/Components/Tooltip/Tooltip.js +4 -4
  55. package/dist/lib/Components/index.d.ts +1 -0
  56. package/dist/lib/Components/index.d.ts.map +1 -1
  57. package/dist/lib/Symbols/Icons/Atm.d.ts +29 -0
  58. package/dist/lib/Symbols/Icons/Atm.d.ts.map +1 -0
  59. package/dist/lib/Symbols/Icons/Atm.js +28 -0
  60. package/dist/lib/Symbols/Icons/Cutlery.d.ts +29 -0
  61. package/dist/lib/Symbols/Icons/Cutlery.d.ts.map +1 -0
  62. package/dist/lib/Symbols/Icons/Cutlery.js +28 -0
  63. package/dist/lib/Symbols/Icons/GameControler.d.ts +29 -0
  64. package/dist/lib/Symbols/Icons/GameControler.d.ts.map +1 -0
  65. package/dist/lib/Symbols/Icons/GameControler.js +28 -0
  66. package/dist/lib/Symbols/index.d.ts +3 -0
  67. package/dist/lib/Symbols/index.d.ts.map +1 -1
  68. package/dist/lib/Symbols/index.js +512 -506
  69. package/dist/libs/design-core/dist/lib/cssVar/cssVar.js +4 -0
  70. package/dist/libs/utils-shared/dist/index.js +135 -112
  71. package/dist/package.json +3 -3
  72. package/package.json +3 -3
@@ -79,16 +79,16 @@ function me({ ...e }) {
79
79
  }
80
80
  const ue = ({
81
81
  ref: e,
82
- render: o,
83
- className: a,
82
+ render: a,
83
+ className: o,
84
84
  ...r
85
85
  }) => /* @__PURE__ */ t(
86
86
  k,
87
87
  {
88
88
  ref: e,
89
89
  "data-slot": "menu-trigger",
90
- render: o,
91
- className: n("data-popup-open:z-menu", a),
90
+ render: a,
91
+ className: n("data-popup-open:z-menu", o),
92
92
  ...r
93
93
  }
94
94
  );
@@ -100,46 +100,46 @@ function le({ ...e }) {
100
100
  }
101
101
  function O({
102
102
  onValueChange: e,
103
- ...o
103
+ ...a
104
104
  }) {
105
105
  return /* @__PURE__ */ t(
106
106
  V,
107
107
  {
108
108
  "data-slot": "menu-radio-group",
109
- onValueChange: (a) => e?.(String(a)),
110
- ...o
109
+ onValueChange: (o) => e?.(String(o)),
110
+ ...a
111
111
  }
112
112
  );
113
113
  }
114
114
  const ce = ({
115
115
  ref: e,
116
- className: o,
117
- children: a,
116
+ className: a,
117
+ children: o,
118
118
  ...r
119
119
  }) => /* @__PURE__ */ p(
120
120
  D,
121
121
  {
122
122
  ref: e,
123
123
  "data-slot": "menu-sub-trigger",
124
- className: n(L, o),
124
+ className: n(L, a),
125
125
  ...r,
126
126
  children: [
127
- a,
127
+ o,
128
128
  /* @__PURE__ */ t(R, { size: 20, className: "ml-auto text-muted" })
129
129
  ]
130
130
  }
131
- ), pe = ({ className: e, children: o }) => /* @__PURE__ */ t(M, { children: /* @__PURE__ */ t(x, { className: "z-menu", side: "right", sideOffset: 4, children: /* @__PURE__ */ t(
131
+ ), pe = ({ className: e, children: a }) => /* @__PURE__ */ t(M, { children: /* @__PURE__ */ t(x, { className: "z-menu", side: "right", sideOffset: 4, children: /* @__PURE__ */ t(
132
132
  N,
133
133
  {
134
134
  "data-slot": "menu-sub-content",
135
135
  className: n(v({ side: "right" }), e),
136
- onClick: (a) => a.stopPropagation(),
137
- children: o
136
+ onClick: (o) => o.stopPropagation(),
137
+ children: a
138
138
  }
139
139
  ) }) }), be = ({
140
140
  side: e = "bottom",
141
- sideOffset: o = 4,
142
- align: a = "start",
141
+ sideOffset: a = 4,
142
+ align: o = "start",
143
143
  alignOffset: r,
144
144
  sticky: i = !0,
145
145
  className: s,
@@ -149,8 +149,8 @@ const ce = ({
149
149
  {
150
150
  className: "z-menu",
151
151
  side: e,
152
- sideOffset: o,
153
- align: a,
152
+ sideOffset: a,
153
+ align: o,
154
154
  alignOffset: r,
155
155
  sticky: i,
156
156
  children: /* @__PURE__ */ t(
@@ -165,8 +165,8 @@ const ce = ({
165
165
  }
166
166
  ) }), fe = ({
167
167
  ref: e,
168
- className: o,
169
- appearance: a = "base",
168
+ className: a,
169
+ appearance: o = "base",
170
170
  disabled: r,
171
171
  onClick: i,
172
172
  label: s,
@@ -185,15 +185,15 @@ const ce = ({
185
185
  label: s,
186
186
  disabled: d,
187
187
  closeOnClick: m,
188
- className: n(l({ appearance: a }), o),
188
+ className: n(l({ appearance: o }), a),
189
189
  onClick: i,
190
190
  ...u
191
191
  }
192
192
  ) });
193
193
  }, he = ({
194
194
  ref: e,
195
- className: o,
196
- children: a,
195
+ className: a,
196
+ children: o,
197
197
  checked: r,
198
198
  defaultChecked: i,
199
199
  onCheckedChange: s,
@@ -216,19 +216,19 @@ const ce = ({
216
216
  defaultChecked: i,
217
217
  disabled: c,
218
218
  closeOnClick: d ?? !1,
219
- className: n(l(), o),
219
+ className: n(l(), a),
220
220
  onCheckedChange: s,
221
221
  ...I,
222
222
  children: [
223
- a,
223
+ o,
224
224
  /* @__PURE__ */ t("span", { className: "ml-auto flex size-24 items-center justify-center", children: /* @__PURE__ */ t(G, { children: /* @__PURE__ */ t(g, { disabled: c, size: 24, className: "text-active" }) }) })
225
225
  ]
226
226
  }
227
227
  ) });
228
228
  }, q = ({
229
229
  ref: e,
230
- className: o,
231
- children: a,
230
+ className: a,
231
+ children: o,
232
232
  disabled: r,
233
233
  ...i
234
234
  }) => {
@@ -242,23 +242,23 @@ const ce = ({
242
242
  ref: e,
243
243
  "data-slot": "menu-radio-item",
244
244
  disabled: s,
245
- className: n(l(), o),
245
+ className: n(l(), a),
246
246
  ...i,
247
247
  children: [
248
- a,
248
+ o,
249
249
  /* @__PURE__ */ t("span", { className: "ml-auto flex size-24 items-center justify-center", children: /* @__PURE__ */ t(T, { children: /* @__PURE__ */ t(g, { disabled: s, size: 24, className: "text-active" }) }) })
250
250
  ]
251
251
  }
252
252
  ) });
253
- }, ge = ({ ref: e, className: o, ...a }) => /* @__PURE__ */ t(
253
+ }, ge = ({ ref: e, className: a, ...o }) => /* @__PURE__ */ t(
254
254
  $,
255
255
  {
256
256
  ref: e,
257
257
  "data-slot": "menu-label",
258
- className: n(W, o),
259
- ...a
258
+ className: n(W, a),
259
+ ...o
260
260
  }
261
- ), Me = ({ ref: e, className: o, ...a }) => /* @__PURE__ */ t(C, { ref: e, className: n("mx-8 my-4 w-auto", o), ...a });
261
+ ), Me = ({ ref: e, className: a, ...o }) => /* @__PURE__ */ t(C, { ref: e, className: n("mx-8 my-4 w-auto", a), ...o });
262
262
  function xe() {
263
263
  return { MenuRadioGroup: O, MenuRadioItem: q };
264
264
  }
@@ -1,17 +1,17 @@
1
- import { jsxs as a, jsx as e } from "react/jsx-runtime";
1
+ import { jsxs as r, jsx as e } from "react/jsx-runtime";
2
2
  import { cn as c } from "../../../libs/utils-shared/dist/index.js";
3
3
  const o = ({
4
4
  ref: s,
5
5
  ticker: t,
6
6
  leadingContent: n,
7
- className: r
8
- }) => /* @__PURE__ */ a(
7
+ className: a
8
+ }) => /* @__PURE__ */ r(
9
9
  "div",
10
10
  {
11
11
  ref: s,
12
12
  className: c(
13
13
  "flex items-center gap-8 rounded-full bg-muted-transparent p-8 pr-12",
14
- r
14
+ a
15
15
  ),
16
16
  "data-slot": "coin-capsule",
17
17
  children: [
@@ -1,5 +1,5 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
- import { cn as s } from "../../../libs/utils-shared/dist/index.js";
2
+ import { cn as o } from "../../../libs/utils-shared/dist/index.js";
3
3
  import { CoinCapsule as i } from "./CoinCapsule.js";
4
4
  import { useCommonTranslation as l } from "../../../i18n/useCommonTranslation.js";
5
5
  import { IconButton as c } from "../IconButton/IconButton.js";
@@ -23,7 +23,7 @@ const N = ({
23
23
  "aria-label": e,
24
24
  className: r
25
25
  }) => {
26
- const { t: o } = l();
26
+ const { t: s } = l();
27
27
  return /* @__PURE__ */ n(
28
28
  c,
29
29
  {
@@ -32,8 +32,8 @@ const N = ({
32
32
  size: "sm",
33
33
  icon: m,
34
34
  onClick: t,
35
- className: s("shrink-0", r),
36
- "aria-label": e ?? o("components.navBar.goBackAriaLabel"),
35
+ className: o("shrink-0", r),
36
+ "aria-label": e ?? s("components.navBar.goBackAriaLabel"),
37
37
  "data-slot": "navbar-back-button"
38
38
  }
39
39
  );
@@ -46,7 +46,7 @@ const N = ({
46
46
  r,
47
47
  {
48
48
  ref: a,
49
- className: s(
49
+ className: o(
50
50
  "min-w-0 truncate heading-4-semi-bold text-base",
51
51
  e
52
52
  ),
@@ -62,7 +62,7 @@ const N = ({
62
62
  "div",
63
63
  {
64
64
  ref: a,
65
- className: s("min-w-0 flex-1 truncate body-1 text-muted", e),
65
+ className: o("min-w-0 flex-1 truncate body-1 text-muted", e),
66
66
  ...r,
67
67
  children: t
68
68
  }
@@ -75,7 +75,7 @@ const N = ({
75
75
  "div",
76
76
  {
77
77
  ref: a,
78
- className: s("flex min-w-0 flex-1 items-center gap-16", e),
78
+ className: o("flex min-w-0 flex-1 items-center gap-16", e),
79
79
  "data-slot": "navbar-leading",
80
80
  ...r,
81
81
  children: t
@@ -89,7 +89,7 @@ const N = ({
89
89
  "div",
90
90
  {
91
91
  ref: a,
92
- className: s("ml-auto flex shrink-0 items-center gap-4", e),
92
+ className: o("ml-auto flex shrink-0 items-center gap-4", e),
93
93
  "data-slot": "navbar-trailing",
94
94
  ...r,
95
95
  children: t
@@ -98,7 +98,7 @@ const N = ({
98
98
  "nav",
99
99
  {
100
100
  ref: a,
101
- className: s("flex items-center gap-4", e),
101
+ className: o("flex items-center gap-4", e),
102
102
  "data-slot": "navbar",
103
103
  ...r,
104
104
  children: t
@@ -1,5 +1,5 @@
1
1
  import { jsx as t, jsxs as m } from "react/jsx-runtime";
2
- import { createSafeContext as l, cn as s } from "../../../libs/utils-shared/dist/index.js";
2
+ import { createSafeContext as l, cn as p } from "../../../libs/utils-shared/dist/index.js";
3
3
  import { cva as v } from "class-variance-authority";
4
4
  import { createPopoverHandle as c } from "../../../node_modules/@base-ui/react/esm/popover/store/PopoverHandle.js";
5
5
  import { PopoverRoot as f } from "../../../node_modules/@base-ui/react/esm/popover/root/PopoverRoot.js";
@@ -39,11 +39,11 @@ const [b, y] = l("Popover"), C = v(
39
39
  width: "fit"
40
40
  }
41
41
  }
42
- ), w = s(
42
+ ), w = p(
43
43
  "fixed inset-0 z-dialog-overlay bg-canvas-overlay-subtle",
44
44
  "data-open:animate-fade-in",
45
45
  "data-closed:animate-fade-out"
46
- ), B = ({
46
+ ), q = ({
47
47
  open: o,
48
48
  defaultOpen: a,
49
49
  onOpenChange: r,
@@ -60,7 +60,7 @@ const [b, y] = l("Popover"), C = v(
60
60
  handle: n,
61
61
  children: i
62
62
  }
63
- ) }), O = ({
63
+ ) }), B = ({
64
64
  handle: o,
65
65
  payload: a,
66
66
  render: r,
@@ -73,17 +73,17 @@ const [b, y] = l("Popover"), C = v(
73
73
  handle: o,
74
74
  payload: a,
75
75
  render: r,
76
- className: s("data-popup-open:z-menu", e),
76
+ className: p("data-popup-open:z-menu", e),
77
77
  ...n
78
78
  }
79
- ), U = ({
79
+ ), O = ({
80
80
  side: o = "bottom",
81
81
  sideOffset: a = 8,
82
82
  align: r = "start",
83
83
  width: e = "fit",
84
84
  initialFocus: n = !1,
85
85
  className: i,
86
- children: p
86
+ children: s
87
87
  }) => {
88
88
  const { overlay: d } = y({
89
89
  consumerName: "PopoverContent",
@@ -110,17 +110,17 @@ const [b, y] = l("Popover"), C = v(
110
110
  {
111
111
  "data-slot": "popover-content",
112
112
  initialFocus: n,
113
- className: s(C({ width: e, side: o }), i),
114
- children: p
113
+ className: p(C({ width: e, side: o }), i),
114
+ children: s
115
115
  }
116
116
  )
117
117
  }
118
118
  )
119
119
  ] });
120
- }, V = c;
120
+ }, A = c;
121
121
  export {
122
- B as Popover,
123
- U as PopoverContent,
124
- O as PopoverTrigger,
125
- V as createPopoverHandle
122
+ q as Popover,
123
+ O as PopoverContent,
124
+ B as PopoverTrigger,
125
+ A as createPopoverHandle
126
126
  };
@@ -1,4 +1,4 @@
1
- import { jsx as r, jsxs as x } from "react/jsx-runtime";
1
+ import { jsx as a, jsxs as x } from "react/jsx-runtime";
2
2
  import { cn as g, useDisabledContext as v } from "../../../libs/utils-shared/dist/index.js";
3
3
  import { cva as b } from "class-variance-authority";
4
4
  import { useRef as C } from "react";
@@ -60,10 +60,10 @@ function k({
60
60
  trailingContent: l,
61
61
  onClick: d,
62
62
  className: c,
63
- ...a
63
+ ...r
64
64
  }) {
65
65
  const { selectedValue: u, onSelectedChange: o, disabled: e, tabLayout: m } = y(), n = u === s;
66
- return /* @__PURE__ */ r(
66
+ return /* @__PURE__ */ a(
67
67
  "button",
68
68
  {
69
69
  type: "button",
@@ -79,10 +79,10 @@ function k({
79
79
  m === "fixed" && "min-w-0 flex-1",
80
80
  c
81
81
  ),
82
- ...a,
82
+ ...r,
83
83
  children: /* @__PURE__ */ x("span", { className: "inline-flex min-w-0 items-center justify-center gap-8", children: [
84
- t && /* @__PURE__ */ r(t, { size: 16, className: "shrink-0" }),
85
- /* @__PURE__ */ r("span", { className: "min-w-0 truncate", children: i }),
84
+ t && /* @__PURE__ */ a(t, { size: 16, className: "shrink-0" }),
85
+ /* @__PURE__ */ a("span", { className: "min-w-0 truncate", children: i }),
86
86
  l
87
87
  ] })
88
88
  }
@@ -95,7 +95,7 @@ function j({
95
95
  className: l,
96
96
  disabled: d,
97
97
  appearance: c = "background",
98
- tabLayout: a = "fixed",
98
+ tabLayout: r = "fixed",
99
99
  ...u
100
100
  }) {
101
101
  const o = v({
@@ -109,14 +109,14 @@ function j({
109
109
  selectedIndex: m,
110
110
  children: t
111
111
  });
112
- return /* @__PURE__ */ r(
112
+ return /* @__PURE__ */ a(
113
113
  S,
114
114
  {
115
115
  value: {
116
116
  selectedValue: s,
117
117
  onSelectedChange: (h) => i(h),
118
118
  disabled: o,
119
- tabLayout: a
119
+ tabLayout: r
120
120
  },
121
121
  children: /* @__PURE__ */ x(
122
122
  "div",
@@ -128,13 +128,13 @@ function j({
128
128
  className: g(
129
129
  p.root({
130
130
  appearance: c,
131
- tabLayout: a
131
+ tabLayout: r
132
132
  }),
133
133
  l
134
134
  ),
135
135
  children: [
136
136
  t,
137
- /* @__PURE__ */ r(
137
+ /* @__PURE__ */ a(
138
138
  "div",
139
139
  {
140
140
  "aria-hidden": !0,
@@ -1,5 +1,5 @@
1
- import { jsx as e, jsxs as x, Fragment as R } from "react/jsx-runtime";
2
- import { createSafeContext as V, cn as m, useDisabledContext as q } from "../../../libs/utils-shared/dist/index.js";
1
+ import { jsx as e, jsxs as x, Fragment as P } from "react/jsx-runtime";
2
+ import { createSafeContext as R, cn as m, useDisabledContext as q } from "../../../libs/utils-shared/dist/index.js";
3
3
  import { cva as C } from "class-variance-authority";
4
4
  import { useCallback as S } from "react";
5
5
  import { Tooltip as N, TooltipTrigger as T, TooltipContent as w } from "../Tooltip/Tooltip.js";
@@ -7,7 +7,7 @@ import { useCommonTranslation as A } from "../../../i18n/useCommonTranslation.js
7
7
  import { useControllableState as B } from "../../../utils/useControllableState/useControllableState.js";
8
8
  import { ExpandRight as z } from "../../Symbols/Icons/ExpandRight.js";
9
9
  import { ExpandLeft as E } from "../../Symbols/Icons/ExpandLeft.js";
10
- const [O, y] = V("SideBar"), f = {
10
+ const [O, y] = R("SideBar"), f = {
11
11
  root: C(
12
12
  [
13
13
  "flex h-full flex-col justify-between gap-16 overflow-y-auto rounded-xl bg-surface-transparent p-16",
@@ -53,10 +53,10 @@ const [O, y] = V("SideBar"), f = {
53
53
  }, D = ({
54
54
  ref: n,
55
55
  collapsed: t,
56
- defaultCollapsed: s = !1,
56
+ defaultCollapsed: r = !1,
57
57
  onCollapsedChange: a,
58
58
  active: o,
59
- defaultActive: r,
59
+ defaultActive: s,
60
60
  onActiveChange: i,
61
61
  children: d,
62
62
  className: l,
@@ -64,11 +64,11 @@ const [O, y] = V("SideBar"), f = {
64
64
  }) => {
65
65
  const { t: c } = A(), [b, g] = B({
66
66
  prop: t,
67
- defaultProp: s,
67
+ defaultProp: r,
68
68
  onChange: a
69
69
  }), [v, u] = B({
70
70
  prop: o,
71
- defaultProp: r ?? "",
71
+ defaultProp: s ?? "",
72
72
  onChange: i ? (h) => i(h) : void 0
73
73
  });
74
74
  return /* @__PURE__ */ e(
@@ -90,36 +90,36 @@ const [O, y] = V("SideBar"), f = {
90
90
  }, F = ({
91
91
  ref: n,
92
92
  children: t,
93
- className: s,
93
+ className: r,
94
94
  ...a
95
95
  }) => /* @__PURE__ */ e(
96
96
  "div",
97
97
  {
98
98
  ref: n,
99
- className: m(f.section(), s),
99
+ className: m(f.section(), r),
100
100
  ...a,
101
101
  children: t
102
102
  }
103
- ), U = ({
103
+ ), W = ({
104
104
  ref: n,
105
105
  children: t,
106
- className: s,
106
+ className: r,
107
107
  ...a
108
108
  }) => /* @__PURE__ */ e(
109
109
  "div",
110
110
  {
111
111
  ref: n,
112
- className: m("mt-auto", f.section(), s),
112
+ className: m("mt-auto", f.section(), r),
113
113
  ...a,
114
114
  children: t
115
115
  }
116
- ), W = ({
116
+ ), G = ({
117
117
  ref: n,
118
118
  value: t,
119
- icon: s,
119
+ icon: r,
120
120
  activeIcon: a,
121
121
  label: o,
122
- tooltipContent: r,
122
+ tooltipContent: s,
123
123
  disabled: i = !1,
124
124
  className: d,
125
125
  onClick: l,
@@ -131,15 +131,15 @@ const [O, y] = V("SideBar"), f = {
131
131
  }), { collapsed: b, active: g, onActiveChange: v } = y({
132
132
  consumerName: "SideBarItem",
133
133
  contextRequired: !0
134
- }), u = g === t, h = u ? a : s, I = r ?? o, L = S(
135
- (P) => {
136
- c || (l?.(P), v?.(t));
134
+ }), u = g === t, h = u ? a : r, I = s ?? o, L = S(
135
+ (k) => {
136
+ c || (l?.(k), v?.(t));
137
137
  },
138
138
  [c, l, v, t]
139
- ), j = /* @__PURE__ */ x(R, { children: [
139
+ ), V = /* @__PURE__ */ x(P, { children: [
140
140
  /* @__PURE__ */ e(h, { size: 20 }),
141
141
  o != null && /* @__PURE__ */ e("span", { className: "translate-x-8 truncate", children: o })
142
- ] }), k = /* @__PURE__ */ e(
142
+ ] }), j = /* @__PURE__ */ e(
143
143
  "button",
144
144
  {
145
145
  ref: n,
@@ -152,24 +152,24 @@ const [O, y] = V("SideBar"), f = {
152
152
  ),
153
153
  "aria-current": u ? "page" : void 0,
154
154
  ...p,
155
- children: j
155
+ children: V
156
156
  }
157
157
  );
158
158
  return /* @__PURE__ */ x(N, { open: b ? void 0 : !1, children: [
159
- /* @__PURE__ */ e(T, { asChild: !0, children: k }),
159
+ /* @__PURE__ */ e(T, { asChild: !0, children: j }),
160
160
  /* @__PURE__ */ e(w, { side: "right", sideOffset: 8, children: I })
161
161
  ] });
162
- }, G = ({
162
+ }, H = ({
163
163
  className: n,
164
164
  tooltipContent: t,
165
- ...s
165
+ ...r
166
166
  }) => {
167
- const { t: a } = A(), { collapsed: o, setCollapsed: r } = y({
167
+ const { t: a } = A(), { collapsed: o, setCollapsed: s } = y({
168
168
  consumerName: "SideBarCollapseToggle",
169
169
  contextRequired: !0
170
170
  }), i = S(() => {
171
- r(!o);
172
- }, [o, r]), d = o ? z : E, l = /* @__PURE__ */ e(
171
+ s(!o);
172
+ }, [o, s]), d = o ? z : E, l = /* @__PURE__ */ e(
173
173
  "button",
174
174
  {
175
175
  type: "button",
@@ -179,7 +179,7 @@ const [O, y] = V("SideBar"), f = {
179
179
  n
180
180
  ),
181
181
  "aria-label": a(o ? "components.sideBar.expandAriaLabel" : "components.sideBar.collapseAriaLabel"),
182
- ...s,
182
+ ...r,
183
183
  children: /* @__PURE__ */ e(d, { size: 20 })
184
184
  }
185
185
  ), p = t ?? a("components.sideBar.collapseAriaLabel");
@@ -192,16 +192,16 @@ function $() {
192
192
  return {
193
193
  SideBar: D,
194
194
  SideBarLeading: F,
195
- SideBarTrailing: U,
196
- SideBarItem: W,
197
- SideBarCollapseToggle: G
195
+ SideBarTrailing: W,
196
+ SideBarItem: G,
197
+ SideBarCollapseToggle: H
198
198
  };
199
199
  }
200
200
  export {
201
201
  D as SideBar,
202
- G as SideBarCollapseToggle,
203
- W as SideBarItem,
202
+ H as SideBarCollapseToggle,
203
+ G as SideBarItem,
204
204
  F as SideBarLeading,
205
- U as SideBarTrailing,
205
+ W as SideBarTrailing,
206
206
  $ as createSideBar
207
207
  };
@@ -36,8 +36,8 @@ const N = g(
36
36
  }
37
37
  ), V = (r) => {
38
38
  const {
39
- appearance: n,
40
- className: a,
39
+ appearance: a,
40
+ className: n,
41
41
  disabled: i = !1,
42
42
  size: o = 48,
43
43
  ref: c,
@@ -86,10 +86,10 @@ const N = g(
86
86
  className: f(
87
87
  N({
88
88
  disabled: m,
89
- appearance: n,
89
+ appearance: a,
90
90
  size: o
91
91
  }),
92
- a
92
+ n
93
93
  ),
94
94
  ...l,
95
95
  children: u
@@ -14,8 +14,8 @@ const s = 48, i = 4, W = ({
14
14
  mergeWith: { disabled: h }
15
15
  }), {
16
16
  displayLabel: p,
17
- r: n,
18
- cx: l,
17
+ r: l,
18
+ cx: n,
19
19
  cy: c,
20
20
  trackDashArray: b,
21
21
  progressDashArray: x,
@@ -54,9 +54,9 @@ const s = 48, i = 4, W = ({
54
54
  /* @__PURE__ */ e(
55
55
  "circle",
56
56
  {
57
- cx: l,
57
+ cx: n,
58
58
  cy: c,
59
- r: n,
59
+ r: l,
60
60
  fill: "none",
61
61
  stroke: "currentColor",
62
62
  strokeLinecap: "round",
@@ -71,9 +71,9 @@ const s = 48, i = 4, W = ({
71
71
  /* @__PURE__ */ e(
72
72
  "circle",
73
73
  {
74
- cx: l,
74
+ cx: n,
75
75
  cy: c,
76
- r: n,
76
+ r: l,
77
77
  fill: "none",
78
78
  stroke: "currentColor",
79
79
  strokeLinecap: "round",
@@ -1,4 +1,4 @@
1
- import { TableBodyProps, TableCellProps, TableColGroupProps, TableColProps, TableHeaderCellProps, TableHeaderRowProps, TableHeaderProps, TableProps, TableRowProps, TableActionBarLeadingProps, TableActionBarProps, TableActionBarTrailingProps, TableCellContentProps, TableLoadingRowProps, TableRootProps, TableInfoIconProps, TableSortButtonProps, TableGroupHeaderRowProps } from './types';
1
+ import { TableBodyProps, TableCellProps, TableColGroupProps, TableColProps, TableHeaderCellProps, TableHeaderRowProps, TableHeaderProps, TableProps, TableRowProps, TableActionBarLeadingProps, TableActionBarProps, TableActionBarTrailingProps, TableCellItemProps, TableCellContentProps, TableCellContentTitleProps, TableCellContentDescriptionProps, TableCellContentRowProps, TableLoadingRowProps, TableRootProps, TableInfoIconProps, TableSortButtonProps, TableGroupHeaderRowProps } from './types';
2
2
  /**
3
3
  * Root table container component. Wraps a scrollable HTML `<div>` around the `Table` element.
4
4
  *
@@ -63,9 +63,30 @@ export declare const TableGroupHeaderRow: ({ children, className, colSpan, ref,
63
63
  */
64
64
  export declare const TableCell: ({ children, className, hideBelow, align, ref, ...props }: TableCellProps) => import("react/jsx-runtime").JSX.Element;
65
65
  /**
66
- * Cell content component. To be used inside a TableCell or inside tanstack column render.
66
+ * Cell item component. Root of the cell content composition.
67
+ * To be used inside a TableCell or inside a tanstack column render.
68
+ * Typically wraps a leading element (spot, icon or crypto-icon) followed by a
69
+ * TableCellContent.
67
70
  */
68
- export declare const TableCellContent: ({ className, align, leadingContent, title, description, ref, ...props }: TableCellContentProps) => import("react/jsx-runtime").JSX.Element;
71
+ export declare const TableCellItem: ({ className, align, children, ref, ...props }: TableCellItemProps) => import("react/jsx-runtime").JSX.Element;
72
+ /**
73
+ * Cell content column. Stacks a TableCellContentTitle, TableCellContentDescription
74
+ * and/or TableCellContentRow.
75
+ */
76
+ export declare const TableCellContent: ({ className, children, ref, ...props }: TableCellContentProps) => import("react/jsx-runtime").JSX.Element;
77
+ /**
78
+ * Cell content title.
79
+ */
80
+ export declare const TableCellContentTitle: ({ className, children, ref, ...props }: TableCellContentTitleProps) => import("react/jsx-runtime").JSX.Element;
81
+ /**
82
+ * Cell content description.
83
+ */
84
+ export declare const TableCellContentDescription: ({ className, children, ref, ...props }: TableCellContentDescriptionProps) => import("react/jsx-runtime").JSX.Element;
85
+ /**
86
+ * Cell content row. Use for more complex composition, e.g. a description
87
+ * alongside a Tag.
88
+ */
89
+ export declare const TableCellContentRow: ({ className, children, ref, ...props }: TableCellContentRowProps) => import("react/jsx-runtime").JSX.Element;
69
90
  /**
70
91
  * Table header cell component. Wraps the HTML `<th>` element.
71
92
  * Use TableSortButton for sortable columns; other children are trailing content.