@ledgerhq/lumen-ui-react 0.0.89 → 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.
@@ -5,7 +5,7 @@ import { BaseButton as u } from "./BaseButton.js";
5
5
  const c = d("", {
6
6
  variants: {
7
7
  size: {
8
- sm: "px-16 py-12 body-2-semi-bold",
8
+ sm: "px-16 py-10 body-2-semi-bold",
9
9
  md: "px-16 py-12",
10
10
  lg: "p-16"
11
11
  }
@@ -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,4CAUxB,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
+ {"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 n } from "react/jsx-runtime";
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 c } from "../../Symbols/Icons/Information.js";
4
- import { ChevronRight as m } from "../../Symbols/Icons/ChevronRight.js";
5
- import { InteractiveIcon as i } from "../InteractiveIcon/InteractiveIcon.js";
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: t,
7
+ children: r,
8
8
  as: e = "h2",
9
- className: r,
10
- ...o
11
- }) => /* @__PURE__ */ n(
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
- r
15
+ "min-w-0 truncate heading-4-semi-bold text-base group-hover/row:text-base-hover",
16
+ t
17
17
  ),
18
- ...o,
19
- children: t
18
+ ...n,
19
+ children: r
20
20
  }
21
21
  ), x = ({
22
- children: t,
22
+ children: r,
23
23
  onClick: e,
24
- className: r,
25
- ...o
26
- }) => /* @__PURE__ */ n(
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
- r
32
+ t
33
33
  ),
34
34
  onClick: e,
35
- ...o,
36
- children: t
35
+ ...n,
36
+ children: r
37
37
  }
38
- ), S = ({
39
- value: t,
38
+ ), g = ({
39
+ value: r,
40
40
  format: e,
41
- className: r,
42
- ...o
41
+ className: t,
42
+ ...n
43
43
  }) => {
44
- const a = e ? e(t) : `(${t})`;
45
- return /* @__PURE__ */ n(
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", r),
49
- ...o,
48
+ className: s("shrink-0 pl-2 body-2 text-muted", t),
49
+ ...n,
50
50
  children: a
51
51
  }
52
52
  );
53
- }, d = ({
54
- ref: t,
53
+ }, m = ({
54
+ ref: r,
55
55
  iconType: e = "stroked",
56
- className: r,
57
- ...o
58
- }) => /* @__PURE__ */ n("span", { className: "flex shrink-0 items-center", children: /* @__PURE__ */ n(
59
- i,
56
+ className: t,
57
+ ...n
58
+ }) => /* @__PURE__ */ o("span", { className: "flex shrink-0 items-center", children: /* @__PURE__ */ o(
59
+ u,
60
60
  {
61
- ref: t,
61
+ ref: r,
62
62
  iconType: e,
63
- className: r,
63
+ className: t,
64
64
  "aria-label": "More information",
65
- ...o,
66
- children: /* @__PURE__ */ n(c, { size: 16 })
65
+ ...n,
66
+ children: /* @__PURE__ */ o(i, { size: 16 })
67
67
  }
68
68
  ) });
69
- d.displayName = "SubheaderInfo";
70
- const N = ({
71
- className: t,
69
+ m.displayName = "SubheaderInfo";
70
+ const v = ({
71
+ className: r,
72
72
  ...e
73
- }) => /* @__PURE__ */ n(
74
- i,
73
+ }) => /* @__PURE__ */ o(
74
+ "span",
75
75
  {
76
- className: s("-ml-2", t),
77
- iconType: "stroked",
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__ */ n(m, { size: 20 })
82
+ children: /* @__PURE__ */ o(c, { size: 20 })
80
83
  }
81
- ), y = ({
82
- children: t,
84
+ ), S = ({
85
+ children: r,
83
86
  className: e,
84
- ...r
85
- }) => /* @__PURE__ */ n("p", { className: s("body-3 text-muted", e), ...r, children: t }), I = ({
86
- children: t,
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: r,
89
- ...o
90
- }) => /* @__PURE__ */ n(
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
- r
100
+ t
98
101
  ),
99
- ...o,
100
- children: t
102
+ ...n,
103
+ children: r
101
104
  }
102
- ), g = ({
103
- className: t,
105
+ ), w = ({
106
+ className: r,
104
107
  children: e,
105
- ...r
106
- }) => /* @__PURE__ */ n("div", { className: s("flex flex-col gap-4", t), ...r, children: e });
108
+ ...t
109
+ }) => /* @__PURE__ */ o("div", { className: s("flex flex-col gap-4", r), ...t, children: e });
107
110
  export {
108
- g as Subheader,
109
- I as SubheaderAction,
110
- S as SubheaderCount,
111
- y as SubheaderDescription,
112
- d as SubheaderInfo,
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
- N as SubheaderShowMore,
117
+ v as SubheaderShowMore,
115
118
  f as SubheaderTitle
116
119
  };
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/lumen-ui-react",
3
- "version": "0.0.88",
3
+ "version": "0.0.90",
4
4
  "license": "Apache-2.0",
5
5
  "sideEffects": false,
6
6
  "keywords": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/lumen-ui-react",
3
- "version": "0.0.89",
3
+ "version": "0.0.91",
4
4
  "license": "Apache-2.0",
5
5
  "sideEffects": false,
6
6
  "keywords": [