@ledgerhq/lumen-ui-react 0.1.36 → 0.1.37

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 (45) hide show
  1. package/dist/lib/Components/AmountInput/AmountInput.d.ts +1 -1
  2. package/dist/lib/Components/AmountInput/AmountInput.d.ts.map +1 -1
  3. package/dist/lib/Components/AmountInput/AmountInput.js +127 -77
  4. package/dist/lib/Components/AmountInput/types.d.ts +12 -0
  5. package/dist/lib/Components/AmountInput/types.d.ts.map +1 -1
  6. package/dist/lib/Components/Avatar/Avatar.d.ts +1 -1
  7. package/dist/lib/Components/Avatar/Avatar.d.ts.map +1 -1
  8. package/dist/lib/Components/Avatar/Avatar.js +47 -60
  9. package/dist/lib/Components/Button/BaseButton.d.ts +2 -2
  10. package/dist/lib/Components/Button/Button.js +10 -10
  11. package/dist/lib/Components/Card/Card.js +12 -12
  12. package/dist/lib/Components/DataTable/DataTable.js +2 -2
  13. package/dist/lib/Components/Divider/Divider.js +4 -4
  14. package/dist/lib/Components/DotCount/DotCount.js +4 -4
  15. package/dist/lib/Components/DotIcon/DotIcon.d.ts +2 -1
  16. package/dist/lib/Components/DotIcon/DotIcon.d.ts.map +1 -1
  17. package/dist/lib/Components/DotIcon/DotIcon.js +24 -20
  18. package/dist/lib/Components/DotIcon/types.d.ts +1 -1
  19. package/dist/lib/Components/DotIcon/types.d.ts.map +1 -1
  20. package/dist/lib/Components/DotIndicator/DotIndicator.js +14 -14
  21. package/dist/lib/Components/DotIndicator/types.d.ts +2 -2
  22. package/dist/lib/Components/DotSymbol/DotSymbol.d.ts.map +1 -1
  23. package/dist/lib/Components/DotSymbol/DotSymbol.js +11 -7
  24. package/dist/lib/Components/DotSymbol/types.d.ts +1 -1
  25. package/dist/lib/Components/DotSymbol/types.d.ts.map +1 -1
  26. package/dist/lib/Components/Icon/Icon.js +4 -4
  27. package/dist/lib/Components/Icon/createIcon.js +4 -4
  28. package/dist/lib/Components/InteractiveIcon/InteractiveIcon.js +4 -4
  29. package/dist/lib/Components/Link/Link.js +6 -6
  30. package/dist/lib/Components/ListItem/ListItem.js +3 -3
  31. package/dist/lib/Components/MediaButton/MediaButton.js +10 -10
  32. package/dist/lib/Components/MediaImage/MediaImage.d.ts.map +1 -1
  33. package/dist/lib/Components/MediaImage/MediaImage.js +8 -6
  34. package/dist/lib/Components/MediaImage/types.d.ts +1 -1
  35. package/dist/lib/Components/MediaImage/types.d.ts.map +1 -1
  36. package/dist/lib/Components/NavBar/NavBar.js +27 -27
  37. package/dist/lib/Components/Popover/Popover.js +6 -6
  38. package/dist/lib/Components/SideBar/SideBar.js +9 -9
  39. package/dist/lib/Components/Skeleton/Skeleton.js +4 -4
  40. package/dist/lib/Components/Table/Table.js +1 -1
  41. package/dist/lib/Components/Table/utils/useThrottledScrollBottom.js +3 -3
  42. package/dist/lib/Symbols/Icons/Lightbulb.js +3 -3
  43. package/dist/libs/utils-shared/dist/index.js +107 -107
  44. package/dist/package.json +3 -3
  45. package/package.json +3 -3
@@ -1 +1 @@
1
- {"version":3,"file":"DotIcon.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/DotIcon/DotIcon.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,KAAK,EAAc,YAAY,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AA6CrE,eAAO,MAAM,wBAAwB;;;;;CAKW,CAAC;AAEjD,eAAO,MAAM,kBAAkB;;;;;CAKiB,CAAC;AAEjD,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,WAAW,EAAE,QAAQ,CAIxD,CAAC;AAgBF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,OAAO;8GAWjB,YAAY;;CAwBd,CAAC"}
1
+ {"version":3,"file":"DotIcon.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/DotIcon/DotIcon.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,KAAK,EAAc,YAAY,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AA+CrE,eAAO,MAAM,wBAAwB;;;;;;CAMW,CAAC;AAEjD,eAAO,MAAM,kBAAkB;;;;;CAKiB,CAAC;AAEjD,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,WAAW,EAAE,QAAQ,CAKxD,CAAC;AAgBF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,OAAO;8GAWjB,YAAY;;CAwBd,CAAC"}
@@ -1,8 +1,8 @@
1
1
  import { jsx as e, jsxs as h } from "react/jsx-runtime";
2
- import { useDisabledContext as v, DisabledProvider as x, cn as n } from "../../../libs/utils-shared/dist/index.js";
2
+ import { useDisabledContext as x, DisabledProvider as v, cn as n } from "../../../libs/utils-shared/dist/index.js";
3
3
  import { cva as c } from "class-variance-authority";
4
- import { useMemo as g } from "react";
5
- const z = c("relative inline-flex w-fit", {
4
+ import { useMemo as z } from "react";
5
+ const g = c("relative inline-flex w-fit", {
6
6
  variants: {
7
7
  disabled: {
8
8
  true: "opacity-30",
@@ -16,7 +16,8 @@ const z = c("relative inline-flex w-fit", {
16
16
  size: {
17
17
  16: "size-16 border",
18
18
  20: "size-20 border",
19
- 24: "size-24 border"
19
+ 24: "size-24 border",
20
+ 32: "size-32 border"
20
21
  },
21
22
  shape: {
22
23
  square: "",
@@ -38,6 +39,7 @@ const z = c("relative inline-flex w-fit", {
38
39
  { size: 16, shape: "square", className: "rounded-[5px]" },
39
40
  { size: 20, shape: "square", className: "rounded-[6px]" },
40
41
  { size: 24, shape: "square", className: "rounded-[8px]" },
42
+ { size: 32, shape: "square", className: "rounded-[10px]" },
41
43
  { shape: "circle", className: "rounded-full" }
42
44
  ]
43
45
  }
@@ -45,27 +47,29 @@ const z = c("relative inline-flex w-fit", {
45
47
  40: 16,
46
48
  48: 20,
47
49
  56: 24,
48
- 64: 24
50
+ 64: 24,
51
+ 72: 32
49
52
  }, w = {
50
53
  40: 16,
51
54
  48: 20,
52
55
  56: 24,
53
- 72: 24
56
+ 72: 32
54
57
  }, D = {
55
58
  16: 12,
56
59
  20: 16,
57
- 24: 16
60
+ 24: 16,
61
+ 32: 20
58
62
  }, I = {
59
63
  "top-start": ["top", "left"],
60
64
  "top-end": ["top", "right"],
61
65
  "bottom-start": ["bottom", "left"],
62
66
  "bottom-end": ["bottom", "right"]
63
- }, i = -3, M = (t) => {
64
- const [s, o] = I[t];
65
- return { [s]: i, [o]: i };
66
- }, q = ({
67
- children: t,
68
- icon: s,
67
+ }, i = -3, q = (s) => {
68
+ const [t, o] = I[s];
69
+ return { [t]: i, [o]: i };
70
+ }, M = ({
71
+ children: s,
72
+ icon: t,
69
73
  appearance: o,
70
74
  pin: a = "bottom-end",
71
75
  size: r = 20,
@@ -75,33 +79,33 @@ const z = c("relative inline-flex w-fit", {
75
79
  ref: p,
76
80
  ...b
77
81
  }) => {
78
- const u = g(() => M(a), [a]), f = v({
82
+ const u = z(() => q(a), [a]), f = x({
79
83
  consumerName: "DotIcon",
80
84
  mergeWith: { disabled: m }
81
85
  });
82
- return /* @__PURE__ */ e(x, { value: { disabled: !1 }, children: /* @__PURE__ */ h(
86
+ return /* @__PURE__ */ e(v, { value: { disabled: !1 }, children: /* @__PURE__ */ h(
83
87
  "div",
84
88
  {
85
89
  ref: p,
86
- className: n(z({ disabled: f, className: l })),
90
+ className: n(g({ disabled: f, className: l })),
87
91
  ...b,
88
92
  children: [
89
- /* @__PURE__ */ e("div", { className: "inline-flex", children: t }),
93
+ /* @__PURE__ */ e("div", { className: "inline-flex", children: s }),
90
94
  /* @__PURE__ */ e(
91
95
  "div",
92
96
  {
93
97
  className: n(N({ size: r, shape: d, pin: a, appearance: o })),
94
98
  style: u,
95
- children: /* @__PURE__ */ e(s, { size: D[r], className: "text-on-interactive" })
99
+ children: /* @__PURE__ */ e(t, { size: D[r], className: "text-on-interactive" })
96
100
  }
97
101
  )
98
102
  ]
99
103
  }
100
104
  ) });
101
105
  };
102
- q.displayName = "DotIcon";
106
+ M.displayName = "DotIcon";
103
107
  export {
104
- q as DotIcon,
108
+ M as DotIcon,
105
109
  D as dotIconSizeMap,
106
110
  V as mediaImageDotIconSizeMap,
107
111
  w as spotDotIconSizeMap
@@ -1,6 +1,6 @@
1
1
  import { ComponentPropsWithRef, ComponentType, ReactNode } from 'react';
2
2
  import { IconSize } from '../Icon';
3
- export type DotIconSize = 16 | 20 | 24;
3
+ export type DotIconSize = 16 | 20 | 24 | 32;
4
4
  export type DotIconPin = 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end';
5
5
  export type DotIconAppearance = 'success' | 'muted' | 'error';
6
6
  export type DotIconProps = {
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/DotIcon/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC7E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExC,MAAM,MAAM,WAAW,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;AAEvC,MAAM,MAAM,UAAU,GAClB,WAAW,GACX,SAAS,GACT,cAAc,GACd,YAAY,CAAC;AAEjB,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,OAAO,GAAG,OAAO,CAAC;AAE9D,MAAM,MAAM,YAAY,GAAG;IACzB;;OAEG;IACH,IAAI,EAAE,aAAa,CAAC;QAAE,IAAI,CAAC,EAAE,QAAQ,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC7D;;OAEG;IACH,UAAU,EAAE,iBAAiB,CAAC;IAC9B;;;OAGG;IACH,GAAG,CAAC,EAAE,UAAU,CAAC;IACjB;;;OAGG;IACH,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB;;;OAGG;IACH,KAAK,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAC5B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,GAAG,IAAI,CAAC,qBAAqB,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/DotIcon/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC7E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExC,MAAM,MAAM,WAAW,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;AAE5C,MAAM,MAAM,UAAU,GAClB,WAAW,GACX,SAAS,GACT,cAAc,GACd,YAAY,CAAC;AAEjB,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,OAAO,GAAG,OAAO,CAAC;AAE9D,MAAM,MAAM,YAAY,GAAG;IACzB;;OAEG;IACH,IAAI,EAAE,aAAa,CAAC;QAAE,IAAI,CAAC,EAAE,QAAQ,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC7D;;OAEG;IACH,UAAU,EAAE,iBAAiB,CAAC;IAC9B;;;OAGG;IACH,GAAG,CAAC,EAAE,UAAU,CAAC;IACjB;;;OAGG;IACH,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB;;;OAGG;IACH,KAAK,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAC5B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,GAAG,IAAI,CAAC,qBAAqB,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,CAAC"}
@@ -1,13 +1,13 @@
1
1
  import { jsxs as m, jsx as b } from "react/jsx-runtime";
2
- import { useDisabledContext as p, cn as i } from "../../../libs/utils-shared/dist/index.js";
2
+ import { useDisabledContext as p, cn as s } from "../../../libs/utils-shared/dist/index.js";
3
3
  import { cva as f } from "class-variance-authority";
4
4
  const u = f("pointer-events-none rounded-full", {
5
5
  variants: {
6
6
  size: {
7
- xs: "size-10",
8
- sm: "size-12",
9
- md: "size-14",
10
- lg: "size-16"
7
+ sm: "size-6",
8
+ md: "size-8",
9
+ lg: "size-10",
10
+ xl: "size-12"
11
11
  },
12
12
  appearance: {
13
13
  base: "bg-interactive",
@@ -19,30 +19,30 @@ const u = f("pointer-events-none rounded-full", {
19
19
  }
20
20
  },
21
21
  defaultVariants: {
22
- size: "sm",
22
+ size: "md",
23
23
  appearance: "base",
24
24
  disabled: !1
25
25
  }
26
26
  });
27
27
  function v({
28
- size: t = "sm",
28
+ size: t = "md",
29
29
  appearance: r = "base",
30
- disabled: n = !1,
30
+ disabled: d = !1,
31
31
  children: e,
32
- className: d,
32
+ className: n,
33
33
  "aria-label": a,
34
34
  ref: o,
35
35
  ...l
36
36
  }) {
37
37
  const c = p({
38
38
  consumerName: "DotIndicator",
39
- mergeWith: { disabled: n }
40
- }), s = !!e;
39
+ mergeWith: { disabled: d }
40
+ }), i = !!e;
41
41
  return /* @__PURE__ */ m(
42
42
  "div",
43
43
  {
44
44
  ref: o,
45
- className: i(s && "relative inline-flex w-fit", d),
45
+ className: s(i && "relative inline-flex w-fit", n),
46
46
  ...l,
47
47
  children: [
48
48
  /* @__PURE__ */ b(
@@ -50,9 +50,9 @@ function v({
50
50
  {
51
51
  "aria-label": a,
52
52
  "aria-hidden": !a || void 0,
53
- className: i(
53
+ className: s(
54
54
  u({ size: t, appearance: r, disabled: c }),
55
- s && "absolute top-0 right-0 z-1"
55
+ i && "absolute top-0 right-0 z-1"
56
56
  )
57
57
  }
58
58
  ),
@@ -2,9 +2,9 @@ import { ComponentPropsWithRef, ReactNode } from 'react';
2
2
  export type DotIndicatorProps = {
3
3
  /**
4
4
  * The size of the dot indicator.
5
- * @default 'sm'
5
+ * @default md
6
6
  */
7
- size?: 'xs' | 'sm' | 'md' | 'lg';
7
+ size?: 'sm' | 'md' | 'lg' | 'xl';
8
8
  /**
9
9
  * The appearance of the dot indicator.
10
10
  * @default 'base'
@@ -1 +1 @@
1
- {"version":3,"file":"DotSymbol.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/DotSymbol/DotSymbol.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,KAAK,EAAgB,cAAc,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AA0D3E,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,cAAc,EAAE,aAAa,CAU7D,CAAC;AAEX,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,QAAQ,EAAE,aAAa,CAMjD,CAAC;AAmBX;;;;;;;;;;GAUG;AACH,eAAO,MAAM,SAAS;4GAYnB,cAAc;;CAkChB,CAAC"}
1
+ {"version":3,"file":"DotSymbol.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/DotSymbol/DotSymbol.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,KAAK,EAAgB,cAAc,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AA6D3E,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,cAAc,EAAE,aAAa,CAW7D,CAAC;AAEX,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,QAAQ,EAAE,aAAa,CAMjD,CAAC;AAmBX;;;;;;;;;;GAUG;AACH,eAAO,MAAM,SAAS;4GAYnB,cAAc;;CAkChB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { jsx as o, jsxs as z } from "react/jsx-runtime";
2
- import { useDisabledContext as x, DisabledProvider as v, cn as N } from "../../../libs/utils-shared/dist/index.js";
2
+ import { useDisabledContext as x, DisabledProvider as N, cn as v } from "../../../libs/utils-shared/dist/index.js";
3
3
  import { cva as d } from "class-variance-authority";
4
4
  import { useMemo as g, useState as q, useEffect as y } from "react";
5
5
  const D = d("relative inline-flex w-fit", {
@@ -19,7 +19,8 @@ const D = d("relative inline-flex w-fit", {
19
19
  12: "size-12 border",
20
20
  16: "size-16 border",
21
21
  20: "size-20 border",
22
- 24: "size-24 border"
22
+ 24: "size-24 border",
23
+ 32: "size-32 border"
23
24
  },
24
25
  shape: {
25
26
  square: "",
@@ -42,6 +43,7 @@ const D = d("relative inline-flex w-fit", {
42
43
  { size: 16, shape: "square", className: "rounded-[5px]" },
43
44
  { size: 20, shape: "square", className: "rounded-[6px]" },
44
45
  { size: 24, shape: "square", className: "rounded-[8px]" },
46
+ { size: 32, shape: "square", className: "rounded-[10px]" },
45
47
  { shape: "circle", className: "rounded-full" }
46
48
  ]
47
49
  }
@@ -51,7 +53,8 @@ const D = d("relative inline-flex w-fit", {
51
53
  12: -2,
52
54
  16: -3,
53
55
  20: -3,
54
- 24: -3
56
+ 24: -3,
57
+ 32: -3
55
58
  }, C = {
56
59
  12: 8,
57
60
  16: 8,
@@ -61,13 +64,14 @@ const D = d("relative inline-flex w-fit", {
61
64
  40: 16,
62
65
  48: 20,
63
66
  56: 24,
64
- 64: 24
67
+ 64: 24,
68
+ 72: 32
65
69
  }, I = {
66
70
  32: 12,
67
71
  40: 16,
68
72
  48: 20,
69
73
  56: 24,
70
- 72: 24
74
+ 72: 32
71
75
  }, E = {
72
76
  "top-start": ["top", "left"],
73
77
  "top-end": ["top", "right"],
@@ -95,11 +99,11 @@ const D = d("relative inline-flex w-fit", {
95
99
  });
96
100
  return y(() => {
97
101
  i(!1);
98
- }, [t]), /* @__PURE__ */ o(v, { value: { disabled: !1 }, children: /* @__PURE__ */ z(
102
+ }, [t]), /* @__PURE__ */ o(N, { value: { disabled: !1 }, children: /* @__PURE__ */ z(
99
103
  "div",
100
104
  {
101
105
  ref: p,
102
- className: N(D({ disabled: h, className: c })),
106
+ className: v(D({ disabled: h, className: c })),
103
107
  ...u,
104
108
  children: [
105
109
  /* @__PURE__ */ o("div", { className: "inline-flex", children: a }),
@@ -1,5 +1,5 @@
1
1
  import { ComponentPropsWithRef, ReactNode } from 'react';
2
- export type DotSymbolSize = 8 | 10 | 12 | 16 | 20 | 24;
2
+ export type DotSymbolSize = 8 | 10 | 12 | 16 | 20 | 24 | 32;
3
3
  export type DotSymbolPin = 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end';
4
4
  export type DotSymbolProps = {
5
5
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/DotSymbol/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE9D,MAAM,MAAM,aAAa,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;AAEvD,MAAM,MAAM,YAAY,GACpB,WAAW,GACX,SAAS,GACT,cAAc,GACd,YAAY,CAAC;AAEjB,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,GAAG,CAAC,EAAE,YAAY,CAAC;IACnB;;;OAGG;IACH,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB;;;OAGG;IACH,KAAK,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAC5B;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC9B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,GAAG,IAAI,CAAC,qBAAqB,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/DotSymbol/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE9D,MAAM,MAAM,aAAa,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;AAE5D,MAAM,MAAM,YAAY,GACpB,WAAW,GACX,SAAS,GACT,cAAc,GACd,YAAY,CAAC;AAEjB,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,GAAG,CAAC,EAAE,YAAY,CAAC;IACnB;;;OAGG;IACH,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB;;;OAGG;IACH,KAAK,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAC5B;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC9B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,GAAG,IAAI,CAAC,qBAAqB,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,CAAC"}
@@ -22,8 +22,8 @@ const h = a("inline-block shrink-0", {
22
22
  size: n = 24,
23
23
  className: i = "",
24
24
  children: c,
25
- viewBox: r,
26
- xmlns: e,
25
+ viewBox: e,
26
+ xmlns: r,
27
27
  ...t
28
28
  }) => k(
29
29
  "svg",
@@ -31,8 +31,8 @@ const h = a("inline-block shrink-0", {
31
31
  ref: o,
32
32
  fill: "none",
33
33
  "aria-hidden": "true",
34
- xmlns: e,
35
- viewBox: r,
34
+ xmlns: r,
35
+ viewBox: e,
36
36
  className: s(h({ size: n }), "inline-block", i),
37
37
  ...t
38
38
  },
@@ -6,17 +6,17 @@ const b = (e, t) => {
6
6
  ref: o,
7
7
  className: s,
8
8
  disabled: a,
9
- ...n
9
+ ...m
10
10
  }) => {
11
- const m = i({
11
+ const n = i({
12
12
  consumerName: e,
13
13
  mergeWith: { disabled: a }
14
14
  });
15
15
  return p(d, {
16
16
  ref: o,
17
- className: l(s, m && "text-disabled"),
17
+ className: l(s, n && "text-disabled"),
18
18
  viewBox: t.props.viewBox,
19
- ...n,
19
+ ...m,
20
20
  children: t.props.children
21
21
  });
22
22
  };
@@ -27,8 +27,8 @@ const v = u(
27
27
  }
28
28
  ), h = ({
29
29
  ref: s,
30
- className: r,
31
- iconType: i,
30
+ className: i,
31
+ iconType: r,
32
32
  icon: a,
33
33
  size: o = 24,
34
34
  appearance: n = "muted",
@@ -46,8 +46,8 @@ const v = u(
46
46
  ref: s,
47
47
  disabled: e,
48
48
  className: b(
49
- v({ disabled: e, iconType: i, appearance: n }),
50
- r
49
+ v({ disabled: e, iconType: r, appearance: n }),
50
+ i
51
51
  ),
52
52
  children: /* @__PURE__ */ t(a, { size: o })
53
53
  }
@@ -46,10 +46,10 @@ const w = k(
46
46
  disabled: b,
47
47
  ...v
48
48
  }) => {
49
- const r = x({
49
+ const s = x({
50
50
  consumerName: "Link",
51
51
  mergeWith: { disabled: b }
52
- }), s = i ? {
52
+ }), r = i ? {
53
53
  sm: 16,
54
54
  md: 20
55
55
  }[i] : 20, o = u;
@@ -62,19 +62,19 @@ const w = k(
62
62
  appearance: f,
63
63
  size: i,
64
64
  underline: p,
65
- disabled: r
65
+ disabled: s
66
66
  }),
67
67
  m
68
68
  ),
69
- "aria-disabled": r || void 0,
69
+ "aria-disabled": s || void 0,
70
70
  target: n && !t ? "_blank" : void 0,
71
71
  rel: n && !t ? "noopener noreferrer" : void 0,
72
72
  ...v,
73
73
  children: t ? a : /* @__PURE__ */ l(c, { children: [
74
- o && /* @__PURE__ */ e(o, { size: s }),
74
+ o && /* @__PURE__ */ e(o, { size: r }),
75
75
  /* @__PURE__ */ e("span", { className: "min-w-0 truncate", children: a }),
76
76
  n && /* @__PURE__ */ l(c, { children: [
77
- /* @__PURE__ */ e(z, { size: s, "aria-hidden": "true" }),
77
+ /* @__PURE__ */ e(z, { size: r, "aria-hidden": "true" }),
78
78
  /* @__PURE__ */ e("span", { className: "sr-only", children: "(opens in a new tab)" })
79
79
  ] })
80
80
  ] })
@@ -1,7 +1,7 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { useDisabledContext as c, DisabledProvider as x, cn as r, getButtonA11yProps as f, createSafeContext as b } from "../../../libs/utils-shared/dist/index.js";
2
+ import { useDisabledContext as c, DisabledProvider as x, cn as r, getButtonA11yProps as b, createSafeContext as f } from "../../../libs/utils-shared/dist/index.js";
3
3
  import { cva as p } from "class-variance-authority";
4
- const [I, l] = b("ListItemTrailing", {
4
+ const [I, l] = f("ListItemTrailing", {
5
5
  isInTrailing: !1
6
6
  }), g = p(
7
7
  [
@@ -46,7 +46,7 @@ const [I, l] = b("ListItemTrailing", {
46
46
  "div",
47
47
  {
48
48
  ref: t,
49
- ...f({ onClick: e, disabled: d }),
49
+ ...b({ onClick: e, disabled: d }),
50
50
  className: r(
51
51
  g({
52
52
  density: m,
@@ -32,10 +32,10 @@ const y = C("gap-8 body-2-semi-bold", {
32
32
  ref: i,
33
33
  className: l,
34
34
  appearance: p = "gray",
35
- size: r = "md",
36
- disabled: m = !1,
37
- asChild: a = !1,
38
- leadingContent: n,
35
+ size: m = "md",
36
+ disabled: r = !1,
37
+ asChild: n = !1,
38
+ leadingContent: a,
39
39
  leadingContentShape: d = "flat",
40
40
  hideChevron: c = !1,
41
41
  children: s,
@@ -43,10 +43,10 @@ const y = C("gap-8 body-2-semi-bold", {
43
43
  }) => {
44
44
  const t = h({
45
45
  consumerName: "MediaButton",
46
- mergeWith: { disabled: m }
47
- }), g = n ? d : "none";
46
+ mergeWith: { disabled: r }
47
+ }), g = a ? d : "none";
48
48
  return /* @__PURE__ */ o(
49
- a ? S : "button",
49
+ n ? S : "button",
50
50
  {
51
51
  ref: i,
52
52
  className: u(
@@ -56,7 +56,7 @@ const y = C("gap-8 body-2-semi-bold", {
56
56
  loading: !1
57
57
  }),
58
58
  y({
59
- size: r,
59
+ size: m,
60
60
  leadingContentShape: g
61
61
  }),
62
62
  l
@@ -64,9 +64,9 @@ const y = C("gap-8 body-2-semi-bold", {
64
64
  disabled: t,
65
65
  ...f,
66
66
  children: [
67
- n && /* @__PURE__ */ e("span", { className: "inline-flex shrink-0 items-center", children: n }),
67
+ a && /* @__PURE__ */ e("span", { className: "inline-flex shrink-0 items-center", children: a }),
68
68
  /* @__PURE__ */ o("span", { className: "flex items-center gap-2", children: [
69
- a ? /* @__PURE__ */ e(x, { children: s }) : /* @__PURE__ */ e("span", { className: "line-clamp-1 text-left", children: s }),
69
+ n ? /* @__PURE__ */ e(x, { children: s }) : /* @__PURE__ */ e("span", { className: "line-clamp-1 text-left", children: s }),
70
70
  !c && /* @__PURE__ */ e(z, { size: 20 })
71
71
  ] })
72
72
  ]
@@ -1 +1 @@
1
- {"version":3,"file":"MediaImage.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/MediaImage/MediaImage.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE/D,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,cAAc,EAAE,MAAM,CAUtD,CAAC;AA+BF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,UAAU,GAAI,4GAYxB,eAAe,4CAgDjB,CAAC"}
1
+ {"version":3,"file":"MediaImage.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/MediaImage/MediaImage.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE/D,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,cAAc,EAAE,MAAM,CAWtD,CAAC;AAgCF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,UAAU,GAAI,4GAYxB,eAAe,4CAgDjB,CAAC"}
@@ -12,7 +12,8 @@ const S = {
12
12
  40: 18,
13
13
  48: 24,
14
14
  56: 24,
15
- 64: 24
15
+ 64: 24,
16
+ 72: 32
16
17
  }, y = {
17
18
  root: g(
18
19
  "relative inline-flex shrink-0 items-center justify-center overflow-hidden bg-muted outline-1 -outline-offset-1 outline-icon",
@@ -27,7 +28,8 @@ const S = {
27
28
  40: "size-40 rounded-md",
28
29
  48: "size-48 rounded-md",
29
30
  56: "size-56 rounded-lg",
30
- 64: "size-64 rounded-lg"
31
+ 64: "size-64 rounded-lg",
32
+ 72: "size-72 rounded-lg"
31
33
  },
32
34
  shape: {
33
35
  square: "",
@@ -41,8 +43,8 @@ const S = {
41
43
  }
42
44
  )
43
45
  }, k = ({
44
- ref: n,
45
- className: d,
46
+ ref: d,
47
+ className: n,
46
48
  src: r,
47
49
  alt: l,
48
50
  size: a = 48,
@@ -62,10 +64,10 @@ const S = {
62
64
  }, [r]), /* @__PURE__ */ h(
63
65
  "div",
64
66
  {
65
- ref: n,
67
+ ref: d,
66
68
  className: b(
67
69
  y.root({ size: a, shape: u, disabled: z }),
68
- d
70
+ n
69
71
  ),
70
72
  role: "img",
71
73
  "aria-label": l,
@@ -1,5 +1,5 @@
1
1
  import { ComponentPropsWithRef } from 'react';
2
- export type MediaImageSize = 12 | 16 | 20 | 24 | 32 | 40 | 48 | 56 | 64;
2
+ export type MediaImageSize = 12 | 16 | 20 | 24 | 32 | 40 | 48 | 56 | 64 | 72;
3
3
  export type MediaImageShape = 'square' | 'circle';
4
4
  export type MediaImageProps = {
5
5
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/MediaImage/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AAEnD,MAAM,MAAM,cAAc,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;AAExE,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAElD,MAAM,MAAM,eAAe,GAAG;IAC5B;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB;;;OAGG;IACH,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC9B;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/MediaImage/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AAEnD,MAAM,MAAM,cAAc,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;AAE7E,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAElD,MAAM,MAAM,eAAe,GAAG;IAC5B;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB;;;OAGG;IACH,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC9B;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAC"}
@@ -7,21 +7,21 @@ import { ArrowLeft as m } from "../../Symbols/Icons/ArrowLeft.js";
7
7
  const N = ({
8
8
  ref: a,
9
9
  ticker: t,
10
- leadingContent: r,
11
- className: e
10
+ leadingContent: e,
11
+ className: r
12
12
  }) => /* @__PURE__ */ n("div", { className: "flex flex-1 items-center", "data-slot": "navbar-coin-capsule", children: /* @__PURE__ */ n(
13
13
  i,
14
14
  {
15
15
  ref: a,
16
16
  ticker: t,
17
- leadingContent: r,
18
- className: e
17
+ leadingContent: e,
18
+ className: r
19
19
  }
20
20
  ) }), B = ({
21
21
  ref: a,
22
22
  onClick: t,
23
- "aria-label": r,
24
- className: e
23
+ "aria-label": e,
24
+ className: r
25
25
  }) => {
26
26
  const { t: s } = l();
27
27
  return /* @__PURE__ */ n(
@@ -32,23 +32,23 @@ const N = ({
32
32
  size: "sm",
33
33
  icon: m,
34
34
  onClick: t,
35
- className: o("shrink-0", e),
36
- "aria-label": r ?? s("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
  );
40
40
  }, x = ({
41
41
  ref: a,
42
42
  children: t,
43
- className: r,
44
- as: e = "h1"
43
+ className: e,
44
+ as: r = "h1"
45
45
  }) => /* @__PURE__ */ n(
46
- e,
46
+ r,
47
47
  {
48
48
  ref: a,
49
49
  className: o(
50
50
  "min-w-0 truncate heading-4-semi-bold text-base",
51
- r
51
+ e
52
52
  ),
53
53
  "data-slot": "navbar-title",
54
54
  children: t
@@ -56,51 +56,51 @@ const N = ({
56
56
  ), g = ({
57
57
  ref: a,
58
58
  children: t,
59
- className: r,
60
- ...e
59
+ className: e,
60
+ ...r
61
61
  }) => /* @__PURE__ */ n(
62
62
  "div",
63
63
  {
64
64
  ref: a,
65
- className: o("min-w-0 flex-1 truncate body-1 text-muted", r),
66
- ...e,
65
+ className: o("min-w-0 flex-1 truncate body-1 text-muted", e),
66
+ ...r,
67
67
  children: t
68
68
  }
69
69
  ), k = ({
70
70
  ref: a,
71
71
  children: t,
72
- className: r,
73
- ...e
72
+ className: e,
73
+ ...r
74
74
  }) => /* @__PURE__ */ n(
75
75
  "div",
76
76
  {
77
77
  ref: a,
78
- className: o("flex min-w-0 flex-1 items-center gap-16", r),
78
+ className: o("flex min-w-0 flex-1 items-center gap-16", e),
79
79
  "data-slot": "navbar-leading",
80
- ...e,
80
+ ...r,
81
81
  children: t
82
82
  }
83
83
  ), h = ({
84
84
  ref: a,
85
85
  children: t,
86
- className: r,
87
- ...e
86
+ className: e,
87
+ ...r
88
88
  }) => /* @__PURE__ */ n(
89
89
  "div",
90
90
  {
91
91
  ref: a,
92
- className: o("ml-auto flex shrink-0 items-center gap-4", r),
92
+ className: o("ml-auto flex shrink-0 items-center gap-4", e),
93
93
  "data-slot": "navbar-trailing",
94
- ...e,
94
+ ...r,
95
95
  children: t
96
96
  }
97
- ), C = ({ ref: a, children: t, className: r, ...e }) => /* @__PURE__ */ n(
97
+ ), C = ({ ref: a, children: t, className: e, ...r }) => /* @__PURE__ */ n(
98
98
  "nav",
99
99
  {
100
100
  ref: a,
101
- className: o("flex items-center gap-4", r),
101
+ className: o("flex items-center gap-4", e),
102
102
  "data-slot": "navbar",
103
- ...e,
103
+ ...r,
104
104
  children: t
105
105
  }
106
106
  );