@ledgerhq/lumen-ui-react 0.0.85 → 0.0.86
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardButton.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/CardButton/CardButton.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAkB1C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,eAAO,MAAM,UAAU;sFASpB,eAAe;;
|
|
1
|
+
{"version":3,"file":"CardButton.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/CardButton/CardButton.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAkB1C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,eAAO,MAAM,UAAU;sFASpB,eAAe;;CAgCjB,CAAC"}
|
|
@@ -3,7 +3,7 @@ import { cn as u } from "../../../libs/utils-shared/dist/index.js";
|
|
|
3
3
|
import { cva as c } from "class-variance-authority";
|
|
4
4
|
import { ChevronRight as m } from "../../Symbols/Icons/ChevronRight.js";
|
|
5
5
|
const f = c(
|
|
6
|
-
"inline-flex h-fit w-full cursor-pointer items-center gap-12 rounded-sm p-12 transition-colors focus-visible:outline-2 focus-visible:outline-focus disabled:cursor-default disabled:text-disabled",
|
|
6
|
+
"group inline-flex h-fit w-full cursor-pointer items-center gap-12 rounded-sm p-12 transition-colors focus-visible:outline-2 focus-visible:outline-focus disabled:cursor-default disabled:text-disabled",
|
|
7
7
|
{
|
|
8
8
|
variants: {
|
|
9
9
|
appearance: {
|
|
@@ -16,22 +16,22 @@ const f = c(
|
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
), p = ({
|
|
19
|
-
ref:
|
|
20
|
-
className:
|
|
19
|
+
ref: l,
|
|
20
|
+
className: d,
|
|
21
21
|
appearance: r,
|
|
22
|
-
icon:
|
|
23
|
-
title:
|
|
22
|
+
icon: n,
|
|
23
|
+
title: o,
|
|
24
24
|
description: s,
|
|
25
25
|
hideChevron: b,
|
|
26
26
|
...t
|
|
27
27
|
}) => {
|
|
28
|
-
const a =
|
|
28
|
+
const a = n;
|
|
29
29
|
return /* @__PURE__ */ i(
|
|
30
30
|
"button",
|
|
31
31
|
{
|
|
32
|
-
ref:
|
|
32
|
+
ref: l,
|
|
33
33
|
className: u(
|
|
34
|
-
|
|
34
|
+
d,
|
|
35
35
|
f({
|
|
36
36
|
appearance: r
|
|
37
37
|
})
|
|
@@ -41,10 +41,16 @@ const f = c(
|
|
|
41
41
|
children: [
|
|
42
42
|
a && /* @__PURE__ */ e(a, { size: 24, className: "shrink-0" }),
|
|
43
43
|
/* @__PURE__ */ i("div", { className: "flex min-w-0 flex-1 flex-col gap-4 text-left", children: [
|
|
44
|
-
/* @__PURE__ */ e("div", { className: "min-w-0 truncate body-2-semi-bold", children:
|
|
45
|
-
s && /* @__PURE__ */ e("div", { className: "line-clamp-2 min-w-0 body-3 text-muted", children: s })
|
|
44
|
+
/* @__PURE__ */ e("div", { className: "min-w-0 truncate body-2-semi-bold", children: o }),
|
|
45
|
+
s && /* @__PURE__ */ e("div", { className: "line-clamp-2 min-w-0 body-3 text-muted group-disabled:text-disabled", children: s })
|
|
46
46
|
] }),
|
|
47
|
-
!b && /* @__PURE__ */ e(
|
|
47
|
+
!b && /* @__PURE__ */ e(
|
|
48
|
+
m,
|
|
49
|
+
{
|
|
50
|
+
size: 24,
|
|
51
|
+
className: "shrink-0 text-muted group-disabled:text-disabled"
|
|
52
|
+
}
|
|
53
|
+
)
|
|
48
54
|
]
|
|
49
55
|
}
|
|
50
56
|
);
|
package/dist/package.json
CHANGED