@ledgerhq/lumen-ui-react 0.0.90 → 0.0.91
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":"Subheader.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Subheader/Subheader.tsx"],"names":[],"mappings":"AAGA,OAAO,EACL,oBAAoB,EACpB,mBAAmB,EACnB,yBAAyB,EACzB,kBAAkB,EAClB,cAAc,EACd,iBAAiB,EACjB,sBAAsB,EACtB,mBAAmB,EACpB,MAAM,SAAS,CAAC;AAEjB;;;;;;;;;;GAUG;AACH,eAAO,MAAM,cAAc,qDAKxB,mBAAmB,4CAYrB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,YAAY,+CAKtB,iBAAiB,4CAgBnB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,2CAKxB,mBAAmB,4CAUrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa;6CAKvB,kBAAkB;;CAcpB,CAAC;AAGF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,4BAG3B,sBAAsB,
|
|
1
|
+
{"version":3,"file":"Subheader.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Subheader/Subheader.tsx"],"names":[],"mappings":"AAGA,OAAO,EACL,oBAAoB,EACpB,mBAAmB,EACnB,yBAAyB,EACzB,kBAAkB,EAClB,cAAc,EACd,iBAAiB,EACjB,sBAAsB,EACtB,mBAAmB,EACpB,MAAM,SAAS,CAAC;AAEjB;;;;;;;;;;GAUG;AACH,eAAO,MAAM,cAAc,qDAKxB,mBAAmB,4CAYrB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,YAAY,+CAKtB,iBAAiB,4CAgBnB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,2CAKxB,mBAAmB,4CAUrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa;6CAKvB,kBAAkB;;CAcpB,CAAC;AAGF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,4BAG3B,sBAAsB,4CAaxB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB,sCAI9B,yBAAyB,4CAM3B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe,+CAKzB,oBAAoB,4CActB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,eAAO,MAAM,SAAS,sCAInB,cAAc,4CAMhB,CAAC"}
|
|
@@ -1,116 +1,119 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { cn as s } from "../../../libs/utils-shared/dist/index.js";
|
|
3
|
-
import { Information as
|
|
4
|
-
import { ChevronRight as
|
|
5
|
-
import { InteractiveIcon as
|
|
3
|
+
import { Information as i } from "../../Symbols/Icons/Information.js";
|
|
4
|
+
import { ChevronRight as c } from "../../Symbols/Icons/ChevronRight.js";
|
|
5
|
+
import { InteractiveIcon as u } from "../InteractiveIcon/InteractiveIcon.js";
|
|
6
6
|
const f = ({
|
|
7
|
-
children:
|
|
7
|
+
children: r,
|
|
8
8
|
as: e = "h2",
|
|
9
|
-
className:
|
|
10
|
-
...
|
|
11
|
-
}) => /* @__PURE__ */
|
|
9
|
+
className: t,
|
|
10
|
+
...n
|
|
11
|
+
}) => /* @__PURE__ */ o(
|
|
12
12
|
e,
|
|
13
13
|
{
|
|
14
14
|
className: s(
|
|
15
|
-
"min-w-0 truncate heading-4-semi-bold text-base",
|
|
16
|
-
|
|
15
|
+
"min-w-0 truncate heading-4-semi-bold text-base group-hover/row:text-base-hover",
|
|
16
|
+
t
|
|
17
17
|
),
|
|
18
|
-
...
|
|
19
|
-
children:
|
|
18
|
+
...n,
|
|
19
|
+
children: r
|
|
20
20
|
}
|
|
21
21
|
), x = ({
|
|
22
|
-
children:
|
|
22
|
+
children: r,
|
|
23
23
|
onClick: e,
|
|
24
|
-
className:
|
|
25
|
-
...
|
|
26
|
-
}) => /* @__PURE__ */
|
|
24
|
+
className: t,
|
|
25
|
+
...n
|
|
26
|
+
}) => /* @__PURE__ */ o(
|
|
27
27
|
e ? "button" : "div",
|
|
28
28
|
{
|
|
29
29
|
className: s(
|
|
30
|
-
"flex items-center gap-4",
|
|
30
|
+
"group/row flex items-center gap-4",
|
|
31
31
|
e && "cursor-pointer",
|
|
32
|
-
|
|
32
|
+
t
|
|
33
33
|
),
|
|
34
34
|
onClick: e,
|
|
35
|
-
...
|
|
36
|
-
children:
|
|
35
|
+
...n,
|
|
36
|
+
children: r
|
|
37
37
|
}
|
|
38
|
-
),
|
|
39
|
-
value:
|
|
38
|
+
), g = ({
|
|
39
|
+
value: r,
|
|
40
40
|
format: e,
|
|
41
|
-
className:
|
|
42
|
-
...
|
|
41
|
+
className: t,
|
|
42
|
+
...n
|
|
43
43
|
}) => {
|
|
44
|
-
const a = e ? e(
|
|
45
|
-
return /* @__PURE__ */
|
|
44
|
+
const a = e ? e(r) : `(${r})`;
|
|
45
|
+
return /* @__PURE__ */ o(
|
|
46
46
|
"span",
|
|
47
47
|
{
|
|
48
|
-
className: s("shrink-0 pl-2 body-2 text-muted",
|
|
49
|
-
...
|
|
48
|
+
className: s("shrink-0 pl-2 body-2 text-muted", t),
|
|
49
|
+
...n,
|
|
50
50
|
children: a
|
|
51
51
|
}
|
|
52
52
|
);
|
|
53
|
-
},
|
|
54
|
-
ref:
|
|
53
|
+
}, m = ({
|
|
54
|
+
ref: r,
|
|
55
55
|
iconType: e = "stroked",
|
|
56
|
-
className:
|
|
57
|
-
...
|
|
58
|
-
}) => /* @__PURE__ */
|
|
59
|
-
|
|
56
|
+
className: t,
|
|
57
|
+
...n
|
|
58
|
+
}) => /* @__PURE__ */ o("span", { className: "flex shrink-0 items-center", children: /* @__PURE__ */ o(
|
|
59
|
+
u,
|
|
60
60
|
{
|
|
61
|
-
ref:
|
|
61
|
+
ref: r,
|
|
62
62
|
iconType: e,
|
|
63
|
-
className:
|
|
63
|
+
className: t,
|
|
64
64
|
"aria-label": "More information",
|
|
65
|
-
...
|
|
66
|
-
children: /* @__PURE__ */
|
|
65
|
+
...n,
|
|
66
|
+
children: /* @__PURE__ */ o(i, { size: 16 })
|
|
67
67
|
}
|
|
68
68
|
) });
|
|
69
|
-
|
|
70
|
-
const
|
|
71
|
-
className:
|
|
69
|
+
m.displayName = "SubheaderInfo";
|
|
70
|
+
const v = ({
|
|
71
|
+
className: r,
|
|
72
72
|
...e
|
|
73
|
-
}) => /* @__PURE__ */
|
|
74
|
-
|
|
73
|
+
}) => /* @__PURE__ */ o(
|
|
74
|
+
"span",
|
|
75
75
|
{
|
|
76
|
-
className: s(
|
|
77
|
-
|
|
76
|
+
className: s(
|
|
77
|
+
"inline-flex size-fit items-center justify-center rounded-full bg-base-transparent text-muted transition-colors group-hover/row:bg-base-transparent-hover group-hover/row:text-muted-hover",
|
|
78
|
+
"-ml-2",
|
|
79
|
+
r
|
|
80
|
+
),
|
|
78
81
|
...e,
|
|
79
|
-
children: /* @__PURE__ */
|
|
82
|
+
children: /* @__PURE__ */ o(c, { size: 20 })
|
|
80
83
|
}
|
|
81
|
-
),
|
|
82
|
-
children:
|
|
84
|
+
), S = ({
|
|
85
|
+
children: r,
|
|
83
86
|
className: e,
|
|
84
|
-
...
|
|
85
|
-
}) => /* @__PURE__ */
|
|
86
|
-
children:
|
|
87
|
+
...t
|
|
88
|
+
}) => /* @__PURE__ */ o("p", { className: s("body-3 text-muted", e), ...t, children: r }), N = ({
|
|
89
|
+
children: r,
|
|
87
90
|
onClick: e,
|
|
88
|
-
className:
|
|
89
|
-
...
|
|
90
|
-
}) => /* @__PURE__ */
|
|
91
|
+
className: t,
|
|
92
|
+
...n
|
|
93
|
+
}) => /* @__PURE__ */ o(
|
|
91
94
|
"button",
|
|
92
95
|
{
|
|
93
96
|
type: "button",
|
|
94
97
|
onClick: e,
|
|
95
98
|
className: s(
|
|
96
99
|
"ml-auto shrink-0 cursor-pointer pl-8 body-2 text-interactive",
|
|
97
|
-
|
|
100
|
+
t
|
|
98
101
|
),
|
|
99
|
-
...
|
|
100
|
-
children:
|
|
102
|
+
...n,
|
|
103
|
+
children: r
|
|
101
104
|
}
|
|
102
|
-
),
|
|
103
|
-
className:
|
|
105
|
+
), w = ({
|
|
106
|
+
className: r,
|
|
104
107
|
children: e,
|
|
105
|
-
...
|
|
106
|
-
}) => /* @__PURE__ */
|
|
108
|
+
...t
|
|
109
|
+
}) => /* @__PURE__ */ o("div", { className: s("flex flex-col gap-4", r), ...t, children: e });
|
|
107
110
|
export {
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
111
|
+
w as Subheader,
|
|
112
|
+
N as SubheaderAction,
|
|
113
|
+
g as SubheaderCount,
|
|
114
|
+
S as SubheaderDescription,
|
|
115
|
+
m as SubheaderInfo,
|
|
113
116
|
x as SubheaderRow,
|
|
114
|
-
|
|
117
|
+
v as SubheaderShowMore,
|
|
115
118
|
f as SubheaderTitle
|
|
116
119
|
};
|
package/dist/package.json
CHANGED