@ledgerhq/lumen-ui-react 0.1.35 → 0.1.36

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 (93) hide show
  1. package/dist/index.js +108 -109
  2. package/dist/lib/Components/AmountDisplay/AmountDisplay.d.ts +1 -1
  3. package/dist/lib/Components/AmountDisplay/AmountDisplay.d.ts.map +1 -1
  4. package/dist/lib/Components/AmountDisplay/AmountDisplay.js +117 -78
  5. package/dist/lib/Components/AmountDisplay/index.d.ts +1 -1
  6. package/dist/lib/Components/AmountDisplay/index.d.ts.map +1 -1
  7. package/dist/lib/Components/AmountDisplay/types.d.ts +16 -3
  8. package/dist/lib/Components/AmountDisplay/types.d.ts.map +1 -1
  9. package/dist/lib/Components/DotIcon/DotIcon.d.ts +1 -1
  10. package/dist/lib/Components/DotIcon/DotIcon.d.ts.map +1 -1
  11. package/dist/lib/Components/DotIcon/DotIcon.js +48 -37
  12. package/dist/lib/Components/DotIcon/types.d.ts +6 -0
  13. package/dist/lib/Components/DotIcon/types.d.ts.map +1 -1
  14. package/dist/lib/Components/DotSymbol/DotSymbol.d.ts +1 -1
  15. package/dist/lib/Components/DotSymbol/DotSymbol.d.ts.map +1 -1
  16. package/dist/lib/Components/DotSymbol/DotSymbol.js +42 -31
  17. package/dist/lib/Components/DotSymbol/types.d.ts +6 -0
  18. package/dist/lib/Components/DotSymbol/types.d.ts.map +1 -1
  19. package/dist/lib/Components/MediaButton/MediaButton.d.ts +3 -3
  20. package/dist/lib/Components/MediaButton/MediaButton.d.ts.map +1 -1
  21. package/dist/lib/Components/MediaButton/MediaButton.js +42 -40
  22. package/dist/lib/Components/MediaButton/types.d.ts +5 -5
  23. package/dist/lib/Components/MediaButton/types.d.ts.map +1 -1
  24. package/dist/lib/Components/MediaImage/MediaImage.d.ts +1 -1
  25. package/dist/lib/Components/MediaImage/MediaImage.d.ts.map +1 -1
  26. package/dist/lib/Components/MediaImage/MediaImage.js +40 -29
  27. package/dist/lib/Components/MediaImage/types.d.ts +6 -0
  28. package/dist/lib/Components/MediaImage/types.d.ts.map +1 -1
  29. package/dist/lib/Components/Menu/Menu.d.ts +11 -16
  30. package/dist/lib/Components/Menu/Menu.d.ts.map +1 -1
  31. package/dist/lib/Components/Menu/Menu.js +186 -125
  32. package/dist/lib/Components/Menu/types.d.ts +50 -145
  33. package/dist/lib/Components/Menu/types.d.ts.map +1 -1
  34. package/dist/lib/Components/NavBar/CoinCapsule.d.ts +2 -2
  35. package/dist/lib/Components/NavBar/CoinCapsule.d.ts.map +1 -1
  36. package/dist/lib/Components/NavBar/CoinCapsule.js +1 -1
  37. package/dist/lib/Components/NavBar/NavBar.d.ts +4 -4
  38. package/dist/lib/Components/NavBar/NavBar.d.ts.map +1 -1
  39. package/dist/lib/Components/NavBar/NavBar.js +10 -2
  40. package/dist/lib/Components/NavBar/types.d.ts +2 -2
  41. package/dist/lib/Components/NavBar/types.d.ts.map +1 -1
  42. package/dist/lib/Components/Popover/Popover.d.ts +2 -2
  43. package/dist/lib/Components/Popover/types.d.ts +6 -3
  44. package/dist/lib/Components/Popover/types.d.ts.map +1 -1
  45. package/dist/node_modules/@base-ui/react/esm/composite/item/CompositeItem.js +30 -0
  46. package/dist/node_modules/@base-ui/react/esm/composite/item/useCompositeItem.js +34 -0
  47. package/dist/node_modules/@base-ui/react/esm/context-menu/root/ContextMenuRootContext.js +14 -0
  48. package/dist/node_modules/@base-ui/react/esm/floating-ui-react/components/FloatingFocusManager.js +10 -10
  49. package/dist/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useFocus.js +97 -0
  50. package/dist/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useHoverFloatingInteraction.js +10 -10
  51. package/dist/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useHoverReferenceInteraction.js +2 -2
  52. package/dist/node_modules/@base-ui/react/esm/floating-ui-react/utils/element.js +31 -20
  53. package/dist/node_modules/@base-ui/react/esm/menu/checkbox-item/MenuCheckboxItem.js +78 -0
  54. package/dist/node_modules/@base-ui/react/esm/menu/checkbox-item/MenuCheckboxItemContext.js +14 -0
  55. package/dist/node_modules/@base-ui/react/esm/menu/checkbox-item/MenuCheckboxItemDataAttributes.js +6 -0
  56. package/dist/node_modules/@base-ui/react/esm/menu/checkbox-item-indicator/MenuCheckboxItemIndicator.js +44 -0
  57. package/dist/node_modules/@base-ui/react/esm/menu/group/MenuGroup.js +28 -0
  58. package/dist/node_modules/@base-ui/react/esm/menu/group/MenuGroupContext.js +14 -0
  59. package/dist/node_modules/@base-ui/react/esm/menu/group-label/MenuGroupLabel.js +29 -0
  60. package/dist/node_modules/@base-ui/react/esm/menu/item/MenuItem.js +47 -0
  61. package/dist/node_modules/@base-ui/react/esm/menu/item/useMenuItem.js +50 -0
  62. package/dist/node_modules/@base-ui/react/esm/menu/item/useMenuItemCommonProps.js +49 -0
  63. package/dist/node_modules/@base-ui/react/esm/menu/popup/MenuPopup.js +89 -0
  64. package/dist/node_modules/@base-ui/react/esm/menu/portal/MenuPortal.js +24 -0
  65. package/dist/node_modules/@base-ui/react/esm/menu/portal/MenuPortalContext.js +14 -0
  66. package/dist/node_modules/@base-ui/react/esm/menu/positioner/MenuPositioner.js +174 -0
  67. package/dist/node_modules/@base-ui/react/esm/menu/positioner/MenuPositionerContext.js +14 -0
  68. package/dist/node_modules/@base-ui/react/esm/menu/radio-group/MenuRadioGroup.js +45 -0
  69. package/dist/node_modules/@base-ui/react/esm/menu/radio-group/MenuRadioGroupContext.js +14 -0
  70. package/dist/node_modules/@base-ui/react/esm/menu/radio-item/MenuRadioItem.js +75 -0
  71. package/dist/node_modules/@base-ui/react/esm/menu/radio-item/MenuRadioItemContext.js +14 -0
  72. package/dist/node_modules/@base-ui/react/esm/menu/radio-item-indicator/MenuRadioItemIndicator.js +44 -0
  73. package/dist/node_modules/@base-ui/react/esm/menu/root/MenuRoot.js +271 -0
  74. package/dist/node_modules/@base-ui/react/esm/menu/root/MenuRootContext.js +14 -0
  75. package/dist/node_modules/@base-ui/react/esm/menu/store/MenuStore.js +109 -0
  76. package/dist/node_modules/@base-ui/react/esm/menu/submenu-root/MenuSubmenuRoot.js +21 -0
  77. package/dist/node_modules/@base-ui/react/esm/menu/submenu-root/MenuSubmenuRootContext.js +10 -0
  78. package/dist/node_modules/@base-ui/react/esm/menu/submenu-trigger/MenuSubmenuTrigger.js +101 -0
  79. package/dist/node_modules/@base-ui/react/esm/menu/trigger/MenuTrigger.js +207 -0
  80. package/dist/node_modules/@base-ui/react/esm/menu/utils/findRootOwnerId.js +10 -0
  81. package/dist/node_modules/@base-ui/react/esm/menu/utils/stateAttributesMapping.js +15 -0
  82. package/dist/node_modules/@base-ui/react/esm/menubar/MenubarContext.js +10 -0
  83. package/dist/node_modules/@base-ui/react/esm/popover/root/PopoverRoot.js +11 -11
  84. package/dist/node_modules/@base-ui/react/esm/popover/store/PopoverStore.js +7 -7
  85. package/dist/node_modules/@base-ui/react/esm/popover/trigger/PopoverTrigger.js +11 -11
  86. package/dist/node_modules/@base-ui/react/esm/utils/constants.js +11 -10
  87. package/dist/node_modules/@base-ui/react/esm/utils/reason-parts.js +11 -8
  88. package/dist/node_modules/@base-ui/react/esm/utils/useMixedToggleClickHandler.js +25 -0
  89. package/dist/node_modules/@base-ui/utils/esm/detectBrowser.js +7 -8
  90. package/dist/node_modules/@base-ui/utils/esm/fastHooks.js +43 -0
  91. package/dist/node_modules/@base-ui/utils/esm/store/useStore.js +54 -13
  92. package/dist/package.json +2 -3
  93. package/package.json +4 -5
@@ -1,8 +1,15 @@
1
- import { jsxs as u, jsx as r } from "react/jsx-runtime";
2
- import { cn as n } from "../../../libs/utils-shared/dist/index.js";
3
- import { cva as b } from "class-variance-authority";
4
- import { useMemo as f } from "react";
5
- const x = b(
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";
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", {
6
+ variants: {
7
+ disabled: {
8
+ true: "opacity-30",
9
+ false: ""
10
+ }
11
+ }
12
+ }), N = c(
6
13
  "absolute z-10 box-content flex items-center justify-center overflow-hidden border-base-inverted",
7
14
  {
8
15
  variants: {
@@ -34,64 +41,68 @@ const x = b(
34
41
  { shape: "circle", className: "rounded-full" }
35
42
  ]
36
43
  }
37
- ), q = {
44
+ ), V = {
38
45
  40: 16,
39
46
  48: 20,
40
47
  56: 24,
41
48
  64: 24
42
- }, S = {
49
+ }, w = {
43
50
  40: 16,
44
51
  48: 20,
45
52
  56: 24,
46
53
  72: 24
47
- }, h = {
54
+ }, D = {
48
55
  16: 12,
49
56
  20: 16,
50
57
  24: 16
51
- }, z = {
58
+ }, I = {
52
59
  "top-start": ["top", "left"],
53
60
  "top-end": ["top", "right"],
54
61
  "bottom-start": ["bottom", "left"],
55
62
  "bottom-end": ["bottom", "right"]
56
- }, c = -3, g = (e) => {
57
- const [t, o] = z[e];
58
- return { [t]: c, [o]: c };
59
- }, v = ({
60
- children: e,
61
- icon: t,
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,
62
69
  appearance: o,
63
- pin: s = "bottom-end",
64
- size: a = 20,
65
- shape: i = "circle",
66
- className: d,
67
- ref: m,
68
- ...p
70
+ pin: a = "bottom-end",
71
+ size: r = 20,
72
+ shape: d = "circle",
73
+ className: l,
74
+ disabled: m = !1,
75
+ ref: p,
76
+ ...b
69
77
  }) => {
70
- const l = f(() => g(s), [s]);
71
- return /* @__PURE__ */ u(
78
+ const u = g(() => M(a), [a]), f = v({
79
+ consumerName: "DotIcon",
80
+ mergeWith: { disabled: m }
81
+ });
82
+ return /* @__PURE__ */ e(x, { value: { disabled: !1 }, children: /* @__PURE__ */ h(
72
83
  "div",
73
84
  {
74
- ref: m,
75
- className: n("relative inline-flex w-fit", d),
76
- ...p,
85
+ ref: p,
86
+ className: n(z({ disabled: f, className: l })),
87
+ ...b,
77
88
  children: [
78
- /* @__PURE__ */ r("div", { className: "inline-flex", children: e }),
79
- /* @__PURE__ */ r(
89
+ /* @__PURE__ */ e("div", { className: "inline-flex", children: t }),
90
+ /* @__PURE__ */ e(
80
91
  "div",
81
92
  {
82
- className: n(x({ size: a, shape: i, pin: s, appearance: o })),
83
- style: l,
84
- children: /* @__PURE__ */ r(t, { size: h[a], className: "text-on-interactive" })
93
+ className: n(N({ size: r, shape: d, pin: a, appearance: o })),
94
+ style: u,
95
+ children: /* @__PURE__ */ e(s, { size: D[r], className: "text-on-interactive" })
85
96
  }
86
97
  )
87
98
  ]
88
99
  }
89
- );
100
+ ) });
90
101
  };
91
- v.displayName = "DotIcon";
102
+ q.displayName = "DotIcon";
92
103
  export {
93
- v as DotIcon,
94
- h as dotIconSizeMap,
95
- q as mediaImageDotIconSizeMap,
96
- S as spotDotIconSizeMap
104
+ q as DotIcon,
105
+ D as dotIconSizeMap,
106
+ V as mediaImageDotIconSizeMap,
107
+ w as spotDotIconSizeMap
97
108
  };
@@ -34,6 +34,12 @@ export type DotIconProps = {
34
34
  * Additional custom CSS classes to apply to the wrapper.
35
35
  */
36
36
  className?: string;
37
+ /**
38
+ * Shows a disabled appearance.
39
+ * @optional
40
+ * @default false
41
+ */
42
+ disabled?: boolean;
37
43
  /**
38
44
  * The wrapped component (e.g. MediaImage or Spot).
39
45
  */
@@ -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,G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AE,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"}
@@ -15,7 +15,7 @@ export declare const spotDotSizeMap: Record<SpotSize, DotSymbolSize>;
15
15
  * </DotSymbol>
16
16
  */
17
17
  export declare const DotSymbol: {
18
- ({ children, src, alt, pin, size, shape, imgLoading, className, ref, ...rest }: DotSymbolProps): import("react/jsx-runtime").JSX.Element;
18
+ ({ children, src, alt, pin, size, shape, imgLoading, className, disabled: disabledProp, ref, ...rest }: DotSymbolProps): import("react/jsx-runtime").JSX.Element;
19
19
  displayName: string;
20
20
  };
21
21
  //# sourceMappingURL=DotSymbol.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DotSymbol.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/DotSymbol/DotSymbol.tsx"],"names":[],"mappings":"AAGA,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;AAiD3E,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;oFAWnB,cAAc;;CA4BhB,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;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,8 +1,15 @@
1
- import { jsxs as f, jsx as a } from "react/jsx-runtime";
2
- import { cn as b } from "../../../libs/utils-shared/dist/index.js";
3
- import { cva as h } from "class-variance-authority";
4
- import { useMemo as z, useState as x, useEffect as N } from "react";
5
- const v = h(
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";
3
+ import { cva as d } from "class-variance-authority";
4
+ import { useMemo as g, useState as q, useEffect as y } from "react";
5
+ const D = d("relative inline-flex w-fit", {
6
+ variants: {
7
+ disabled: {
8
+ true: "opacity-30",
9
+ false: ""
10
+ }
11
+ }
12
+ }), S = d(
6
13
  "absolute z-10 box-content overflow-hidden border-base-inverted bg-muted",
7
14
  {
8
15
  variants: {
@@ -38,14 +45,14 @@ const v = h(
38
45
  { shape: "circle", className: "rounded-full" }
39
46
  ]
40
47
  }
41
- ), g = {
48
+ ), M = {
42
49
  8: -2,
43
50
  10: -2,
44
51
  12: -2,
45
52
  16: -3,
46
53
  20: -3,
47
54
  24: -3
48
- }, w = {
55
+ }, C = {
49
56
  12: 8,
50
57
  16: 8,
51
58
  20: 8,
@@ -55,60 +62,64 @@ const v = h(
55
62
  48: 20,
56
63
  56: 24,
57
64
  64: 24
58
- }, V = {
65
+ }, I = {
59
66
  32: 12,
60
67
  40: 16,
61
68
  48: 20,
62
69
  56: 24,
63
70
  72: 24
64
- }, q = {
71
+ }, E = {
65
72
  "top-start": ["top", "left"],
66
73
  "top-end": ["top", "right"],
67
74
  "bottom-start": ["bottom", "left"],
68
75
  "bottom-end": ["bottom", "right"]
69
- }, S = (o, t) => {
70
- const [r, s] = q[o], e = g[t];
76
+ }, V = (a, t) => {
77
+ const [r, s] = E[a], e = M[t];
71
78
  return { [r]: e, [s]: e };
72
- }, y = ({
73
- children: o,
79
+ }, j = ({
80
+ children: a,
74
81
  src: t,
75
82
  alt: r,
76
83
  pin: s = "bottom-end",
77
84
  size: e = 20,
78
85
  shape: n = "circle",
79
- imgLoading: d = "eager",
80
- className: m,
81
- ref: c,
82
- ...l
86
+ imgLoading: l = "eager",
87
+ className: c,
88
+ disabled: m = !1,
89
+ ref: p,
90
+ ...u
83
91
  }) => {
84
- const p = z(() => S(s, e), [s, e]), [u, i] = x(!1);
85
- return N(() => {
92
+ const b = g(() => V(s, e), [s, e]), [f, i] = q(!1), h = x({
93
+ consumerName: "DotSymbol",
94
+ mergeWith: { disabled: m }
95
+ });
96
+ return y(() => {
86
97
  i(!1);
87
- }, [t]), /* @__PURE__ */ f(
98
+ }, [t]), /* @__PURE__ */ o(v, { value: { disabled: !1 }, children: /* @__PURE__ */ z(
88
99
  "div",
89
100
  {
90
- ref: c,
91
- className: b("relative inline-flex w-fit", m),
92
- ...l,
101
+ ref: p,
102
+ className: N(D({ disabled: h, className: c })),
103
+ ...u,
93
104
  children: [
94
- /* @__PURE__ */ a("div", { className: "inline-flex", children: o }),
95
- /* @__PURE__ */ a("div", { className: v({ size: e, shape: n, pin: s }), style: p, children: !u && /* @__PURE__ */ a(
105
+ /* @__PURE__ */ o("div", { className: "inline-flex", children: a }),
106
+ /* @__PURE__ */ o("div", { className: S({ size: e, shape: n, pin: s }), style: b, children: !f && /* @__PURE__ */ o(
96
107
  "img",
97
108
  {
98
109
  alt: r,
99
110
  src: t,
100
- loading: d,
111
+ loading: l,
101
112
  "aria-hidden": "true",
102
113
  onError: () => i(!0)
103
114
  }
104
115
  ) })
105
116
  ]
106
117
  }
107
- );
118
+ ) });
108
119
  };
109
- y.displayName = "DotSymbol";
120
+ j.displayName = "DotSymbol";
110
121
  export {
111
- y as DotSymbol,
112
- w as mediaImageDotSizeMap,
113
- V as spotDotSizeMap
122
+ j as DotSymbol,
123
+ C as mediaImageDotSizeMap,
124
+ I as spotDotSizeMap
114
125
  };
@@ -37,6 +37,12 @@ export type DotSymbolProps = {
37
37
  * Additional custom CSS classes to apply to the wrapper.
38
38
  */
39
39
  className?: string;
40
+ /**
41
+ * Shows a disabled appearance.
42
+ * @optional
43
+ * @default false
44
+ */
45
+ disabled?: boolean;
40
46
  /**
41
47
  * The wrapped component (e.g. MediaImage or Spot).
42
48
  */
@@ -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,CA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AK,CAAC,EAAE,UAAU,CAAC,CAAC"}
@@ -14,17 +14,17 @@ import { MediaButtonProps } from './types';
14
14
  * import { Settings } from '@ledgerhq/lumen-ui-react/symbols';
15
15
  *
16
16
  * // With flat interface icon
17
- * <MediaButton icon={<Settings size={20} />} iconType="flat">
17
+ * <MediaButton leadingContent={<Settings size={20} />} leadingContentShape="flat">
18
18
  * Network
19
19
  * </MediaButton>
20
20
  *
21
21
  * // With rounded crypto icon
22
- * <MediaButton icon={<CryptoIcon ledgerId="bitcoin" size={32} />} iconType="rounded">
22
+ * <MediaButton leadingContent={<CryptoIcon ledgerId="bitcoin" size={32} />} leadingContentShape="rounded">
23
23
  * Bitcoin
24
24
  * </MediaButton>
25
25
  *
26
26
  * // Without icon
27
27
  * <MediaButton>All accounts</MediaButton>
28
28
  */
29
- export declare const MediaButton: ({ ref, className, appearance, size, disabled: disabledProp, asChild, icon, iconType, hideChevron, children, ...props }: MediaButtonProps) => import("react/jsx-runtime").JSX.Element;
29
+ export declare const MediaButton: ({ ref, className, appearance, size, disabled: disabledProp, asChild, leadingContent, leadingContentShape, hideChevron, children, ...props }: MediaButtonProps) => import("react/jsx-runtime").JSX.Element;
30
30
  //# sourceMappingURL=MediaButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MediaButton.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/MediaButton/MediaButton.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AA4BhD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,eAAO,MAAM,WAAW,GAAI,wHAYzB,gBAAgB,4CAqClB,CAAC"}
1
+ {"version":3,"file":"MediaButton.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/MediaButton/MediaButton.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AA4BhD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,eAAO,MAAM,WAAW,GAAI,6IAYzB,gBAAgB,4CA4ClB,CAAC"}
@@ -1,76 +1,78 @@
1
- import { jsxs as t, jsx as e } from "react/jsx-runtime";
2
- import { useDisabledContext as u, cn as x } from "../../../libs/utils-shared/dist/index.js";
3
- import { Slot as b, Slottable as T } from "@radix-ui/react-slot";
4
- import { cva as z } from "class-variance-authority";
5
- import { baseButtonVariants as g } from "../Button/BaseButton.js";
6
- import { ChevronDown as v } from "../../Symbols/Icons/ChevronDown.js";
7
- const N = z("gap-8 body-2-semi-bold", {
1
+ import { jsxs as o, jsx as e } from "react/jsx-runtime";
2
+ import { useDisabledContext as h, cn as u } from "../../../libs/utils-shared/dist/index.js";
3
+ import { Slot as S, Slottable as x } from "@radix-ui/react-slot";
4
+ import { cva as C } from "class-variance-authority";
5
+ import { baseButtonVariants as b } from "../Button/BaseButton.js";
6
+ import { ChevronDown as z } from "../../Symbols/Icons/ChevronDown.js";
7
+ const y = C("gap-8 body-2-semi-bold", {
8
8
  variants: {
9
9
  size: {
10
10
  sm: "",
11
11
  md: ""
12
12
  },
13
- iconType: {
13
+ leadingContentShape: {
14
14
  flat: "",
15
15
  rounded: "",
16
16
  none: ""
17
17
  }
18
18
  },
19
19
  compoundVariants: [
20
- { size: "md", iconType: "flat", class: "px-16 py-12" },
21
- { size: "md", iconType: "rounded", class: "py-8 pr-16 pl-8" },
22
- { size: "md", iconType: "none", class: "px-16 py-14" },
23
- { size: "sm", iconType: "flat", class: "px-12 py-10" },
24
- { size: "sm", iconType: "rounded", class: "py-8 pr-10 pl-8" },
25
- { size: "sm", iconType: "none", class: "px-12 py-10" }
20
+ { size: "md", leadingContentShape: "flat", class: "px-16 py-12" },
21
+ { size: "md", leadingContentShape: "rounded", class: "py-8 pr-16 pl-8" },
22
+ { size: "md", leadingContentShape: "none", class: "px-16 py-14" },
23
+ { size: "sm", leadingContentShape: "flat", class: "px-12 py-10" },
24
+ { size: "sm", leadingContentShape: "rounded", class: "py-8 pr-10 pl-8" },
25
+ { size: "sm", leadingContentShape: "none", class: "px-12 py-10" }
26
26
  ],
27
27
  defaultVariants: {
28
28
  size: "md",
29
- iconType: "none"
29
+ leadingContentShape: "none"
30
30
  }
31
- }), S = ({
31
+ }), k = ({
32
32
  ref: i,
33
- className: p,
34
- appearance: l = "gray",
33
+ className: l,
34
+ appearance: p = "gray",
35
35
  size: r = "md",
36
36
  disabled: m = !1,
37
- asChild: n = !1,
38
- icon: s,
39
- iconType: c = "flat",
40
- hideChevron: d = !1,
41
- children: o,
37
+ asChild: a = !1,
38
+ leadingContent: n,
39
+ leadingContentShape: d = "flat",
40
+ hideChevron: c = !1,
41
+ children: s,
42
42
  ...f
43
43
  }) => {
44
- const a = u({
44
+ const t = h({
45
45
  consumerName: "MediaButton",
46
46
  mergeWith: { disabled: m }
47
- }), y = s ? c : "none";
48
- return /* @__PURE__ */ t(
49
- n ? b : "button",
47
+ }), g = n ? d : "none";
48
+ return /* @__PURE__ */ o(
49
+ a ? S : "button",
50
50
  {
51
51
  ref: i,
52
- className: x(
53
- g({
54
- appearance: l,
55
- disabled: a,
52
+ className: u(
53
+ b({
54
+ appearance: p,
55
+ disabled: t,
56
56
  loading: !1
57
57
  }),
58
- N({ size: r, iconType: y }),
59
- p
58
+ y({
59
+ size: r,
60
+ leadingContentShape: g
61
+ }),
62
+ l
60
63
  ),
61
- "data-disabled": a || void 0,
62
- disabled: a,
64
+ disabled: t,
63
65
  ...f,
64
66
  children: [
65
- s && /* @__PURE__ */ e("span", { className: "inline-flex shrink-0 items-center", children: s }),
66
- /* @__PURE__ */ t("span", { className: "flex items-center gap-2", children: [
67
- n ? /* @__PURE__ */ e(T, { children: o }) : /* @__PURE__ */ e("span", { className: "line-clamp-1 text-left", children: o }),
68
- !d && /* @__PURE__ */ e(v, { size: 20 })
67
+ n && /* @__PURE__ */ e("span", { className: "inline-flex shrink-0 items-center", children: n }),
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 }),
70
+ !c && /* @__PURE__ */ e(z, { size: 20 })
69
71
  ] })
70
72
  ]
71
73
  }
72
74
  );
73
75
  };
74
76
  export {
75
- S as MediaButton
77
+ k as MediaButton
76
78
  };
@@ -12,19 +12,19 @@ export type MediaButtonProps = {
12
12
  */
13
13
  size?: 'sm' | 'md';
14
14
  /**
15
- * An optional pre-rendered icon to display as leading content.
15
+ * An optional leading content, usually a pre-rendered icon.
16
16
  * Consumer is responsible for sizing the icon (typically 20px).
17
17
  */
18
- icon?: ReactNode;
18
+ leadingContent?: ReactNode;
19
19
  /**
20
- * Determines the padding scheme when an icon is present.
20
+ * Determines the padding scheme when `leadingContent` is present.
21
21
  * - `'flat'`: Standard padding for line/interface icons.
22
22
  * - `'rounded'`: Tighter left padding for circular icons with their own background (e.g., crypto icons).
23
23
  *
24
- * Only relevant when `icon` is provided.
24
+ * Only relevant when `leadingContent` is provided.
25
25
  * @default 'flat'
26
26
  */
27
- iconType?: 'flat' | 'rounded';
27
+ leadingContentShape?: 'flat' | 'rounded';
28
28
  /**
29
29
  * When true, hides the trailing chevron indicator.
30
30
  * @default false
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/MediaButton/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC9D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAEvD,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,aAAa,GAAG,eAAe,CAAC;IACtD;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB;;;OAGG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;CACrB,GAAG,IAAI,CAAC,eAAe,EAAE,UAAU,GAAG,WAAW,GAAG,SAAS,CAAC,GAC7D,qBAAqB,CAAC,QAAQ,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/MediaButton/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC9D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAEvD,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,aAAa,GAAG,eAAe,CAAC;IACtD;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB;;;OAGG;IACH,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B;;;;;;;OAOG;IACH,mBAAmB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzC;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;CACrB,GAAG,IAAI,CAAC,eAAe,EAAE,UAAU,GAAG,WAAW,GAAG,SAAS,CAAC,GAC7D,qBAAqB,CAAC,QAAQ,CAAC,CAAC"}
@@ -16,5 +16,5 @@ export declare const fontSizeMap: Record<MediaImageSize, number>;
16
16
  * <MediaImage fallback="Bitcoin" size={32} />
17
17
  * <MediaImage loading size={32} />
18
18
  */
19
- export declare const MediaImage: ({ ref, className, src, alt, size, shape, imgLoading, fallback, loading, ...props }: MediaImageProps) => import("react/jsx-runtime").JSX.Element;
19
+ export declare const MediaImage: ({ ref, className, src, alt, size, shape, imgLoading, fallback, loading, disabled: disabledProp, ...props }: MediaImageProps) => import("react/jsx-runtime").JSX.Element;
20
20
  //# sourceMappingURL=MediaImage.d.ts.map
@@ -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;AA2BF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,UAAU,GAAI,oFAWxB,eAAe,4CAyCjB,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,CAUtD,CAAC;AA+BF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,UAAU,GAAI,4GAYxB,eAAe,4CAgDjB,CAAC"}
@@ -1,9 +1,9 @@
1
- import { jsxs as p, jsx as r } from "react/jsx-runtime";
2
- import { cn as z } from "../../../libs/utils-shared/dist/index.js";
3
- import { cva as h } from "class-variance-authority";
4
- import { useState as x, useEffect as g } from "react";
5
- import { Skeleton as v } from "../Skeleton/Skeleton.js";
6
- const N = {
1
+ import { jsxs as h, jsx as s } from "react/jsx-runtime";
2
+ import { useDisabledContext as x, cn as b } from "../../../libs/utils-shared/dist/index.js";
3
+ import { cva as g } from "class-variance-authority";
4
+ import { useState as v, useEffect as N } from "react";
5
+ import { Skeleton as j } from "../Skeleton/Skeleton.js";
6
+ const S = {
7
7
  12: 10,
8
8
  16: 10,
9
9
  20: 12,
@@ -13,8 +13,8 @@ const N = {
13
13
  48: 24,
14
14
  56: 24,
15
15
  64: 24
16
- }, b = {
17
- root: h(
16
+ }, y = {
17
+ root: g(
18
18
  "relative inline-flex shrink-0 items-center justify-center overflow-hidden bg-muted outline-1 -outline-offset-1 outline-icon",
19
19
  {
20
20
  variants: {
@@ -32,52 +32,63 @@ const N = {
32
32
  shape: {
33
33
  square: "",
34
34
  circle: "rounded-full"
35
+ },
36
+ disabled: {
37
+ true: "opacity-30",
38
+ false: ""
35
39
  }
36
40
  }
37
41
  }
38
42
  )
39
- }, I = ({
40
- ref: a,
43
+ }, k = ({
44
+ ref: n,
41
45
  className: d,
42
- src: s,
46
+ src: r,
43
47
  alt: l,
44
- size: i = 48,
48
+ size: a = 48,
45
49
  shape: u = "square",
46
50
  imgLoading: m = "eager",
47
51
  fallback: t,
48
52
  loading: e = !1,
49
- ...c
53
+ disabled: c = !1,
54
+ ...f
50
55
  }) => {
51
- const [f, n] = x(!1), o = !s || f;
52
- return g(() => {
53
- n(!1);
54
- }, [s]), /* @__PURE__ */ p(
56
+ const [p, i] = v(!1), o = !r || p, z = x({
57
+ consumerName: "MediaImage",
58
+ mergeWith: { disabled: c }
59
+ });
60
+ return N(() => {
61
+ i(!1);
62
+ }, [r]), /* @__PURE__ */ h(
55
63
  "div",
56
64
  {
57
- ref: a,
58
- className: z(b.root({ size: i, shape: u }), d),
65
+ ref: n,
66
+ className: b(
67
+ y.root({ size: a, shape: u, disabled: z }),
68
+ d
69
+ ),
59
70
  role: "img",
60
71
  "aria-label": l,
61
- ...c,
72
+ ...f,
62
73
  children: [
63
- e && /* @__PURE__ */ r(v, { className: "absolute inset-0" }),
64
- !e && o && t && /* @__PURE__ */ r(
74
+ e && /* @__PURE__ */ s(j, { className: "absolute inset-0" }),
75
+ !e && o && t && /* @__PURE__ */ s(
65
76
  "span",
66
77
  {
67
78
  className: "text-base select-none",
68
- style: { fontSize: N[i] },
79
+ style: { fontSize: S[a] },
69
80
  "aria-hidden": "true",
70
81
  children: t[0]?.toUpperCase()
71
82
  }
72
83
  ),
73
- !e && o && !t && /* @__PURE__ */ r("span", { className: "text-muted select-none", "aria-hidden": "true" }),
74
- !e && !o && /* @__PURE__ */ r(
84
+ !e && o && !t && /* @__PURE__ */ s("span", { className: "text-muted select-none", "aria-hidden": "true" }),
85
+ !e && !o && /* @__PURE__ */ s(
75
86
  "img",
76
87
  {
77
- src: s,
88
+ src: r,
78
89
  alt: "",
79
90
  loading: m,
80
- onError: () => n(!0),
91
+ onError: () => i(!0),
81
92
  className: "size-full object-cover",
82
93
  "aria-hidden": "true"
83
94
  }
@@ -87,6 +98,6 @@ const N = {
87
98
  );
88
99
  };
89
100
  export {
90
- I as MediaImage,
91
- N as fontSizeMap
101
+ k as MediaImage,
102
+ S as fontSizeMap
92
103
  };
@@ -41,6 +41,12 @@ export type MediaImageProps = {
41
41
  * @default false
42
42
  */
43
43
  loading?: boolean;
44
+ /**
45
+ * Shows a disabled appearance.
46
+ * @optional
47
+ * @default false
48
+ */
49
+ disabled?: boolean;
44
50
  /**
45
51
  * Additional custom CSS classes to apply. Do not use this prop to modify the component's core appearance.
46
52
  * @optional
@@ -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,M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