@ledgerhq/lumen-ui-react 0.1.53 → 0.1.55
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.
- package/dist/lib/Components/core/Card/Card.d.ts +1 -1
- package/dist/lib/Components/core/Card/Card.d.ts.map +1 -1
- package/dist/lib/Components/core/Card/Card.js +138 -124
- package/dist/lib/Components/core/Card/types.d.ts +6 -0
- package/dist/lib/Components/core/Card/types.d.ts.map +1 -1
- package/dist/lib/Components/core/DataTable/DataTable.d.ts +1 -1
- package/dist/lib/Components/core/DataTable/DataTable.d.ts.map +1 -1
- package/dist/lib/Components/core/DataTable/DataTable.js +4 -1
- package/dist/lib/Components/core/Dialog/DialogHeader/DialogHeader.js +4 -4
- package/dist/lib/Components/core/SegmentedControl/SegmentedControl.d.ts +1 -1
- package/dist/lib/Components/core/SegmentedControl/SegmentedControl.d.ts.map +1 -1
- package/dist/lib/Components/core/SegmentedControl/SegmentedControl.js +242 -97
- package/dist/lib/Components/core/SegmentedControl/SegmentedControlContext.d.ts +2 -1
- package/dist/lib/Components/core/SegmentedControl/SegmentedControlContext.d.ts.map +1 -1
- package/dist/lib/Components/core/SegmentedControl/types.d.ts +4 -3
- package/dist/lib/Components/core/SegmentedControl/types.d.ts.map +1 -1
- package/dist/lib/Components/core/SegmentedControl/usePillElementLayoutEffect.js +13 -12
- package/dist/lib/Components/core/SegmentedControl/useScrollArrows.d.ts +16 -0
- package/dist/lib/Components/core/SegmentedControl/useScrollArrows.d.ts.map +1 -0
- package/dist/lib/Components/core/SegmentedControl/useScrollArrows.js +51 -0
- package/dist/lib/Components/core/Trend/Trend.d.ts.map +1 -1
- package/dist/lib/Components/core/Trend/Trend.js +21 -21
- package/dist/lib/Components/symbols/icons/CalendarRefresh.d.ts +29 -0
- package/dist/lib/Components/symbols/icons/CalendarRefresh.d.ts.map +1 -0
- package/dist/lib/Components/symbols/icons/CalendarRefresh.js +28 -0
- package/dist/lib/Components/symbols/icons/CodeShield.d.ts +29 -0
- package/dist/lib/Components/symbols/icons/CodeShield.d.ts.map +1 -0
- package/dist/lib/Components/symbols/icons/CodeShield.js +28 -0
- package/dist/lib/Components/symbols/icons/CoinStacked.d.ts +29 -0
- package/dist/lib/Components/symbols/icons/CoinStacked.d.ts.map +1 -0
- package/dist/lib/Components/symbols/icons/CoinStacked.js +28 -0
- package/dist/lib/Components/symbols/icons/Craft.d.ts +29 -0
- package/dist/lib/Components/symbols/icons/Craft.d.ts.map +1 -0
- package/dist/lib/Components/symbols/icons/Craft.js +28 -0
- package/dist/lib/Components/symbols/icons/Equal.d.ts +29 -0
- package/dist/lib/Components/symbols/icons/Equal.d.ts.map +1 -0
- package/dist/lib/Components/symbols/icons/Equal.js +27 -0
- package/dist/lib/Components/symbols/icons/File.d.ts +29 -0
- package/dist/lib/Components/symbols/icons/File.d.ts.map +1 -0
- package/dist/lib/Components/symbols/icons/File.js +28 -0
- package/dist/lib/Components/symbols/icons/FileShield.d.ts +29 -0
- package/dist/lib/Components/symbols/icons/FileShield.d.ts.map +1 -0
- package/dist/lib/Components/symbols/icons/FileShield.js +28 -0
- package/dist/lib/Components/symbols/icons/Fire.d.ts +29 -0
- package/dist/lib/Components/symbols/icons/Fire.d.ts.map +1 -0
- package/dist/lib/Components/symbols/icons/Fire.js +29 -0
- package/dist/lib/Components/symbols/icons/Handshake.d.ts +29 -0
- package/dist/lib/Components/symbols/icons/Handshake.d.ts.map +1 -0
- package/dist/lib/Components/symbols/icons/Handshake.js +28 -0
- package/dist/lib/Components/symbols/icons/MailShield.d.ts +29 -0
- package/dist/lib/Components/symbols/icons/MailShield.d.ts.map +1 -0
- package/dist/lib/Components/symbols/icons/MailShield.js +28 -0
- package/dist/lib/Components/symbols/icons/Merge.d.ts +29 -0
- package/dist/lib/Components/symbols/icons/Merge.d.ts.map +1 -0
- package/dist/lib/Components/symbols/icons/Merge.js +28 -0
- package/dist/lib/Components/symbols/icons/Minimize.d.ts +29 -0
- package/dist/lib/Components/symbols/icons/Minimize.d.ts.map +1 -0
- package/dist/lib/Components/symbols/icons/Minimize.js +28 -0
- package/dist/lib/Components/symbols/icons/Nested.d.ts +29 -0
- package/dist/lib/Components/symbols/icons/Nested.d.ts.map +1 -0
- package/dist/lib/Components/symbols/icons/Nested.js +28 -0
- package/dist/lib/Components/symbols/icons/NotEqual.d.ts +29 -0
- package/dist/lib/Components/symbols/icons/NotEqual.d.ts.map +1 -0
- package/dist/lib/Components/symbols/icons/NotEqual.js +27 -0
- package/dist/lib/Components/symbols/icons/PeopleShield.d.ts +29 -0
- package/dist/lib/Components/symbols/icons/PeopleShield.d.ts.map +1 -0
- package/dist/lib/Components/symbols/icons/PeopleShield.js +28 -0
- package/dist/lib/Components/symbols/icons/Pin.d.ts +29 -0
- package/dist/lib/Components/symbols/icons/Pin.d.ts.map +1 -0
- package/dist/lib/Components/symbols/icons/Pin.js +28 -0
- package/dist/lib/Components/symbols/icons/PinFill.d.ts +29 -0
- package/dist/lib/Components/symbols/icons/PinFill.d.ts.map +1 -0
- package/dist/lib/Components/symbols/icons/PinFill.js +25 -0
- package/dist/lib/Components/symbols/icons/Receive.d.ts +29 -0
- package/dist/lib/Components/symbols/icons/Receive.d.ts.map +1 -0
- package/dist/lib/Components/symbols/icons/Receive.js +28 -0
- package/dist/lib/Components/symbols/icons/Retry.d.ts +29 -0
- package/dist/lib/Components/symbols/icons/Retry.d.ts.map +1 -0
- package/dist/lib/Components/symbols/icons/Retry.js +28 -0
- package/dist/lib/Components/symbols/icons/Send.d.ts +29 -0
- package/dist/lib/Components/symbols/icons/Send.d.ts.map +1 -0
- package/dist/lib/Components/symbols/icons/Send.js +28 -0
- package/dist/lib/Components/symbols/icons/Servers.d.ts +29 -0
- package/dist/lib/Components/symbols/icons/Servers.d.ts.map +1 -0
- package/dist/lib/Components/symbols/icons/Servers.js +28 -0
- package/dist/lib/Components/symbols/icons/SubArrow.d.ts +29 -0
- package/dist/lib/Components/symbols/icons/SubArrow.d.ts.map +1 -0
- package/dist/lib/Components/symbols/icons/SubArrow.js +28 -0
- package/dist/lib/Components/symbols/icons/UsbCircleFill.d.ts +29 -0
- package/dist/lib/Components/symbols/icons/UsbCircleFill.d.ts.map +1 -0
- package/dist/lib/Components/symbols/icons/UsbCircleFill.js +36 -0
- package/dist/lib/Components/symbols/icons/WarningCircleFill.d.ts +29 -0
- package/dist/lib/Components/symbols/icons/WarningCircleFill.d.ts.map +1 -0
- package/dist/lib/Components/symbols/icons/WarningCircleFill.js +25 -0
- package/dist/lib/Components/symbols/index.d.ts +24 -0
- package/dist/lib/Components/symbols/index.d.ts.map +1 -1
- package/dist/lib/Components/symbols/index.js +554 -506
- package/dist/libs/utils-shared/dist/index.js +1 -1
- package/dist/package.json +3 -3
- package/package.json +3 -3
|
@@ -63,7 +63,7 @@ export declare const CardTrailing: ({ ref, children, className, ...props }: Card
|
|
|
63
63
|
* Footer container for the card. Collapses with a 300ms transition
|
|
64
64
|
* when `footerExpanded` is `false` (only happens in `"expandable"` mode).
|
|
65
65
|
*/
|
|
66
|
-
export declare const CardFooter: ({ ref, children, className, ...props }: CardFooterProps) => import("react/jsx-runtime").JSX.Element;
|
|
66
|
+
export declare const CardFooter: ({ ref, children, className, appearance, ...props }: CardFooterProps) => import("react/jsx-runtime").JSX.Element;
|
|
67
67
|
/**
|
|
68
68
|
* Horizontal row container for action buttons inside CardFooter.
|
|
69
69
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../../src/lib/Components/core/Card/Card.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAEV,2BAA2B,EAC3B,gBAAgB,EAChB,mBAAmB,EACnB,qBAAqB,EACrB,gBAAgB,EAChB,sBAAsB,EACtB,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,SAAS,EACT,iBAAiB,EACjB,QAAQ,EACT,MAAM,SAAS,CAAC;AAEjB,eAAO,MAAM,uBAAuB,GAAI,wCAKrC;IACD,IAAI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C;IAChC,OAAO,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC9B,QAAQ,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;CACjC,KAAG,gBA2BH,CAAC;AAiDF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,IAAI,GAAI,qFAUlB,SAAS,4CAkCX,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,UAAU,GAAI,wCAKxB,eAAe,4CA8BjB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,WAAW,GAAI,wCAKzB,gBAAgB,4CAUlB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,WAAW,GAAI,wCAKzB,gBAAgB,4CAkBlB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,cAAc,GAAI,wCAK5B,mBAAmB,4CAmBrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB,GAAI,wCAK9B,qBAAqB,4CAmBvB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,sBAAsB,GAAI,wCAKpC,2BAA2B,4CAmB7B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,YAAY,GAAI,wCAK1B,iBAAiB,4CAqBnB,CAAC;AAiBF;;;GAGG;AACH,eAAO,MAAM,UAAU,GAAI,oDAMxB,eAAe,4CA4BjB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,GAAI,wCAK/B,sBAAsB,4CAQxB,CAAC"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as n, jsxs as f, Fragment as p } from "react/jsx-runtime";
|
|
2
2
|
import { createSafeContext as m, DisabledProvider as g, cn as o, getButtonA11yProps as C } from "../../../../libs/utils-shared/dist/index.js";
|
|
3
|
-
import { cva as
|
|
3
|
+
import { cva as v } from "class-variance-authority";
|
|
4
4
|
import { useMemo as h } from "react";
|
|
5
5
|
import { ChevronUp as N } from "../../symbols/icons/ChevronUp.js";
|
|
6
6
|
import { ChevronDown as w } from "../../symbols/icons/ChevronDown.js";
|
|
7
7
|
const k = ({
|
|
8
|
-
type:
|
|
9
|
-
expanded:
|
|
10
|
-
onClick:
|
|
8
|
+
type: r,
|
|
9
|
+
expanded: t,
|
|
10
|
+
onClick: a,
|
|
11
11
|
disabled: e
|
|
12
12
|
}) => {
|
|
13
|
-
switch (
|
|
13
|
+
switch (r) {
|
|
14
14
|
case "interactive":
|
|
15
15
|
return {
|
|
16
|
-
cardClickable: !!
|
|
16
|
+
cardClickable: !!a,
|
|
17
17
|
headerClickable: !1,
|
|
18
18
|
footerExpanded: !0,
|
|
19
19
|
disabled: !!e,
|
|
@@ -22,10 +22,10 @@ const k = ({
|
|
|
22
22
|
case "expandable":
|
|
23
23
|
return {
|
|
24
24
|
cardClickable: !1,
|
|
25
|
-
headerClickable: !!
|
|
26
|
-
footerExpanded: !!
|
|
25
|
+
headerClickable: !!a && !e,
|
|
26
|
+
footerExpanded: !!t,
|
|
27
27
|
disabled: !!e,
|
|
28
|
-
onHeaderClick:
|
|
28
|
+
onHeaderClick: a
|
|
29
29
|
};
|
|
30
30
|
case "info":
|
|
31
31
|
return {
|
|
@@ -44,9 +44,9 @@ const k = ({
|
|
|
44
44
|
footerExpanded: !0,
|
|
45
45
|
disabled: !1
|
|
46
46
|
}
|
|
47
|
-
), [q,
|
|
47
|
+
), [q, x] = m("CardContentAlign", {
|
|
48
48
|
align: "left"
|
|
49
|
-
}), E =
|
|
49
|
+
}), E = v(
|
|
50
50
|
"flex w-full flex-col overflow-clip rounded-lg bg-surface text-base transition-colors",
|
|
51
51
|
{
|
|
52
52
|
variants: {
|
|
@@ -77,257 +77,271 @@ const k = ({
|
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
), P = ({
|
|
80
|
-
ref:
|
|
81
|
-
className:
|
|
82
|
-
type:
|
|
80
|
+
ref: r,
|
|
81
|
+
className: t,
|
|
82
|
+
type: a = "interactive",
|
|
83
83
|
expanded: e,
|
|
84
|
-
outlined:
|
|
84
|
+
outlined: s = !1,
|
|
85
85
|
disabled: i = !1,
|
|
86
86
|
onClick: l,
|
|
87
87
|
children: d,
|
|
88
|
-
...
|
|
88
|
+
...b
|
|
89
89
|
}) => {
|
|
90
90
|
const u = h(
|
|
91
91
|
() => k({
|
|
92
|
-
type:
|
|
92
|
+
type: a,
|
|
93
93
|
expanded: e,
|
|
94
94
|
onClick: l,
|
|
95
95
|
disabled: i
|
|
96
96
|
}),
|
|
97
|
-
[
|
|
97
|
+
[a, e, l, i]
|
|
98
98
|
);
|
|
99
|
-
return /* @__PURE__ */
|
|
99
|
+
return /* @__PURE__ */ n(R, { value: u, children: /* @__PURE__ */ n(g, { value: { disabled: i }, children: /* @__PURE__ */ n(
|
|
100
100
|
"div",
|
|
101
101
|
{
|
|
102
|
-
ref:
|
|
102
|
+
ref: r,
|
|
103
103
|
...u.cardClickable && C({ onClick: l, disabled: i }),
|
|
104
104
|
className: o(
|
|
105
105
|
E({
|
|
106
106
|
interactive: u.cardClickable,
|
|
107
|
-
outlined:
|
|
107
|
+
outlined: s,
|
|
108
108
|
disabled: i
|
|
109
109
|
}),
|
|
110
|
-
|
|
110
|
+
t
|
|
111
111
|
),
|
|
112
|
-
...
|
|
112
|
+
...b,
|
|
113
113
|
children: d
|
|
114
114
|
}
|
|
115
115
|
) }) });
|
|
116
116
|
}, T = ({
|
|
117
|
-
ref:
|
|
118
|
-
children:
|
|
119
|
-
className:
|
|
117
|
+
ref: r,
|
|
118
|
+
children: t,
|
|
119
|
+
className: a,
|
|
120
120
|
...e
|
|
121
121
|
}) => {
|
|
122
|
-
const { disabled:
|
|
122
|
+
const { disabled: s, headerClickable: i, footerExpanded: l, onHeaderClick: d } = c({
|
|
123
123
|
consumerName: "CardHeader",
|
|
124
124
|
contextRequired: !1
|
|
125
125
|
});
|
|
126
126
|
return /* @__PURE__ */ f(
|
|
127
127
|
"div",
|
|
128
128
|
{
|
|
129
|
-
ref:
|
|
129
|
+
ref: r,
|
|
130
130
|
"aria-expanded": d ? l : void 0,
|
|
131
|
-
...C({ onClick: d, disabled:
|
|
131
|
+
...C({ onClick: d, disabled: s }),
|
|
132
132
|
className: o(
|
|
133
133
|
"flex items-center gap-12 p-12",
|
|
134
134
|
i && "cursor-pointer -outline-offset-6 transition-colors hover:bg-surface-hover focus-visible:outline-2 focus-visible:outline-focus active:bg-surface-pressed",
|
|
135
|
-
|
|
135
|
+
a
|
|
136
136
|
),
|
|
137
137
|
...e,
|
|
138
138
|
children: [
|
|
139
|
-
|
|
140
|
-
d && /* @__PURE__ */ f(
|
|
141
|
-
l && /* @__PURE__ */
|
|
142
|
-
!l && /* @__PURE__ */
|
|
139
|
+
t,
|
|
140
|
+
d && /* @__PURE__ */ f(p, { children: [
|
|
141
|
+
l && /* @__PURE__ */ n(N, { className: "text-muted", size: 20 }),
|
|
142
|
+
!l && /* @__PURE__ */ n(w, { className: "text-muted", size: 20 })
|
|
143
143
|
] })
|
|
144
144
|
]
|
|
145
145
|
}
|
|
146
146
|
);
|
|
147
|
-
},
|
|
148
|
-
ref:
|
|
149
|
-
children:
|
|
150
|
-
className:
|
|
147
|
+
}, z = ({
|
|
148
|
+
ref: r,
|
|
149
|
+
children: t,
|
|
150
|
+
className: a,
|
|
151
151
|
...e
|
|
152
|
-
}) => /* @__PURE__ */
|
|
152
|
+
}) => /* @__PURE__ */ n(
|
|
153
153
|
"div",
|
|
154
154
|
{
|
|
155
|
-
ref:
|
|
156
|
-
className: o("flex min-w-0 flex-1 items-center gap-12",
|
|
155
|
+
ref: r,
|
|
156
|
+
className: o("flex min-w-0 flex-1 items-center gap-12", a),
|
|
157
157
|
...e,
|
|
158
|
-
children:
|
|
158
|
+
children: t
|
|
159
159
|
}
|
|
160
|
-
),
|
|
161
|
-
ref:
|
|
162
|
-
children:
|
|
163
|
-
className:
|
|
160
|
+
), B = ({
|
|
161
|
+
ref: r,
|
|
162
|
+
children: t,
|
|
163
|
+
className: a,
|
|
164
164
|
...e
|
|
165
165
|
}) => {
|
|
166
|
-
const { align:
|
|
166
|
+
const { align: s } = x({
|
|
167
167
|
consumerName: "CardContent",
|
|
168
168
|
contextRequired: !1
|
|
169
169
|
});
|
|
170
|
-
return /* @__PURE__ */
|
|
170
|
+
return /* @__PURE__ */ n(
|
|
171
171
|
"div",
|
|
172
172
|
{
|
|
173
|
-
ref:
|
|
173
|
+
ref: r,
|
|
174
174
|
className: o(
|
|
175
175
|
"flex min-w-0 flex-1 flex-col gap-4",
|
|
176
|
-
|
|
177
|
-
|
|
176
|
+
s === "right" && "items-end text-end",
|
|
177
|
+
a
|
|
178
178
|
),
|
|
179
179
|
...e,
|
|
180
|
-
children:
|
|
180
|
+
children: t
|
|
181
181
|
}
|
|
182
182
|
);
|
|
183
|
-
},
|
|
184
|
-
ref:
|
|
185
|
-
children:
|
|
186
|
-
className:
|
|
183
|
+
}, I = ({
|
|
184
|
+
ref: r,
|
|
185
|
+
children: t,
|
|
186
|
+
className: a,
|
|
187
187
|
...e
|
|
188
188
|
}) => {
|
|
189
|
-
const { align:
|
|
189
|
+
const { align: s } = x({
|
|
190
190
|
consumerName: "CardContentRow",
|
|
191
191
|
contextRequired: !1
|
|
192
192
|
});
|
|
193
|
-
return /* @__PURE__ */
|
|
193
|
+
return /* @__PURE__ */ n(
|
|
194
194
|
"div",
|
|
195
195
|
{
|
|
196
|
-
ref:
|
|
196
|
+
ref: r,
|
|
197
197
|
className: o(
|
|
198
198
|
"flex min-w-0 items-center gap-8",
|
|
199
|
-
|
|
200
|
-
|
|
199
|
+
s === "right" && "justify-end",
|
|
200
|
+
a
|
|
201
201
|
),
|
|
202
202
|
...e,
|
|
203
|
-
children:
|
|
203
|
+
children: t
|
|
204
204
|
}
|
|
205
205
|
);
|
|
206
|
-
},
|
|
207
|
-
ref:
|
|
208
|
-
children:
|
|
209
|
-
className:
|
|
206
|
+
}, L = ({
|
|
207
|
+
ref: r,
|
|
208
|
+
children: t,
|
|
209
|
+
className: a,
|
|
210
210
|
...e
|
|
211
211
|
}) => {
|
|
212
|
-
const { disabled:
|
|
212
|
+
const { disabled: s } = c({
|
|
213
213
|
consumerName: "CardContentTitle",
|
|
214
214
|
contextRequired: !1
|
|
215
215
|
});
|
|
216
|
-
return /* @__PURE__ */
|
|
216
|
+
return /* @__PURE__ */ n(
|
|
217
217
|
"div",
|
|
218
218
|
{
|
|
219
|
-
ref:
|
|
219
|
+
ref: r,
|
|
220
220
|
className: o(
|
|
221
221
|
"truncate body-2-semi-bold",
|
|
222
|
-
|
|
223
|
-
|
|
222
|
+
s && "text-disabled",
|
|
223
|
+
a
|
|
224
224
|
),
|
|
225
225
|
...e,
|
|
226
|
-
children:
|
|
226
|
+
children: t
|
|
227
227
|
}
|
|
228
228
|
);
|
|
229
|
-
},
|
|
230
|
-
ref:
|
|
231
|
-
children:
|
|
232
|
-
className:
|
|
229
|
+
}, M = ({
|
|
230
|
+
ref: r,
|
|
231
|
+
children: t,
|
|
232
|
+
className: a,
|
|
233
233
|
...e
|
|
234
234
|
}) => {
|
|
235
|
-
const { disabled:
|
|
235
|
+
const { disabled: s } = c({
|
|
236
236
|
consumerName: "CardContentDescription",
|
|
237
237
|
contextRequired: !1
|
|
238
238
|
});
|
|
239
|
-
return /* @__PURE__ */
|
|
239
|
+
return /* @__PURE__ */ n(
|
|
240
240
|
"div",
|
|
241
241
|
{
|
|
242
|
-
ref:
|
|
242
|
+
ref: r,
|
|
243
243
|
className: o(
|
|
244
244
|
"truncate body-3",
|
|
245
|
-
|
|
246
|
-
|
|
245
|
+
s ? "text-disabled" : "text-muted",
|
|
246
|
+
a
|
|
247
247
|
),
|
|
248
248
|
...e,
|
|
249
|
-
children:
|
|
249
|
+
children: t
|
|
250
250
|
}
|
|
251
251
|
);
|
|
252
|
-
},
|
|
253
|
-
ref:
|
|
254
|
-
children:
|
|
255
|
-
className:
|
|
252
|
+
}, S = ({
|
|
253
|
+
ref: r,
|
|
254
|
+
children: t,
|
|
255
|
+
className: a,
|
|
256
256
|
...e
|
|
257
257
|
}) => {
|
|
258
|
-
const { disabled:
|
|
258
|
+
const { disabled: s } = c({
|
|
259
259
|
consumerName: "CardTrailing",
|
|
260
260
|
contextRequired: !1
|
|
261
261
|
});
|
|
262
|
-
return /* @__PURE__ */
|
|
262
|
+
return /* @__PURE__ */ n(q, { value: { align: "right" }, children: /* @__PURE__ */ n(
|
|
263
263
|
"div",
|
|
264
264
|
{
|
|
265
|
-
ref:
|
|
265
|
+
ref: r,
|
|
266
266
|
className: o(
|
|
267
267
|
"flex shrink-0 items-center gap-12",
|
|
268
|
-
|
|
269
|
-
|
|
268
|
+
s && "text-disabled",
|
|
269
|
+
a
|
|
270
270
|
),
|
|
271
271
|
...e,
|
|
272
|
-
children:
|
|
272
|
+
children: t
|
|
273
273
|
}
|
|
274
274
|
) });
|
|
275
|
-
},
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
275
|
+
}, H = v(
|
|
276
|
+
"grid flex-1 transition-[grid-template-rows] duration-300",
|
|
277
|
+
{
|
|
278
|
+
variants: {
|
|
279
|
+
appearance: {
|
|
280
|
+
plain: "bg-muted-transparent",
|
|
281
|
+
"no-background": ""
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
defaultVariants: {
|
|
285
|
+
appearance: "plain"
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
), U = ({
|
|
289
|
+
ref: r,
|
|
290
|
+
children: t,
|
|
291
|
+
className: a,
|
|
292
|
+
appearance: e = "plain",
|
|
293
|
+
...s
|
|
280
294
|
}) => {
|
|
281
|
-
const { disabled:
|
|
295
|
+
const { disabled: i, footerExpanded: l } = c({
|
|
282
296
|
consumerName: "CardFooter",
|
|
283
297
|
contextRequired: !1
|
|
284
298
|
});
|
|
285
|
-
return /* @__PURE__ */
|
|
299
|
+
return /* @__PURE__ */ n(
|
|
286
300
|
"div",
|
|
287
301
|
{
|
|
288
302
|
className: o(
|
|
289
|
-
|
|
290
|
-
|
|
303
|
+
H({ appearance: e }),
|
|
304
|
+
l ? "grid-rows-[1fr]" : "grid-rows-[0fr]"
|
|
291
305
|
),
|
|
292
|
-
children: /* @__PURE__ */
|
|
306
|
+
children: /* @__PURE__ */ n("div", { className: "overflow-hidden", children: /* @__PURE__ */ n(
|
|
293
307
|
"div",
|
|
294
308
|
{
|
|
295
|
-
ref:
|
|
309
|
+
ref: r,
|
|
296
310
|
className: o(
|
|
297
311
|
"flex w-full flex-col gap-8 px-12 py-10",
|
|
298
|
-
|
|
299
|
-
|
|
312
|
+
i && "text-disabled",
|
|
313
|
+
a
|
|
300
314
|
),
|
|
301
|
-
...
|
|
302
|
-
children:
|
|
315
|
+
...s,
|
|
316
|
+
children: t
|
|
303
317
|
}
|
|
304
318
|
) })
|
|
305
319
|
}
|
|
306
320
|
);
|
|
307
|
-
},
|
|
308
|
-
ref:
|
|
309
|
-
children:
|
|
310
|
-
className:
|
|
321
|
+
}, G = ({
|
|
322
|
+
ref: r,
|
|
323
|
+
children: t,
|
|
324
|
+
className: a,
|
|
311
325
|
...e
|
|
312
|
-
}) => /* @__PURE__ */
|
|
326
|
+
}) => /* @__PURE__ */ n(
|
|
313
327
|
"div",
|
|
314
328
|
{
|
|
315
|
-
ref:
|
|
316
|
-
className: o("flex flex-row justify-end gap-10",
|
|
329
|
+
ref: r,
|
|
330
|
+
className: o("flex flex-row justify-end gap-10", a),
|
|
317
331
|
...e,
|
|
318
|
-
children:
|
|
332
|
+
children: t
|
|
319
333
|
}
|
|
320
334
|
);
|
|
321
335
|
export {
|
|
322
336
|
P as Card,
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
337
|
+
B as CardContent,
|
|
338
|
+
M as CardContentDescription,
|
|
339
|
+
I as CardContentRow,
|
|
340
|
+
L as CardContentTitle,
|
|
341
|
+
U as CardFooter,
|
|
342
|
+
G as CardFooterActions,
|
|
329
343
|
T as CardHeader,
|
|
330
|
-
|
|
331
|
-
|
|
344
|
+
z as CardLeading,
|
|
345
|
+
S as CardTrailing,
|
|
332
346
|
k as resolveCardInnerContext
|
|
333
347
|
};
|
|
@@ -112,7 +112,13 @@ export type CardTrailingProps = {
|
|
|
112
112
|
*/
|
|
113
113
|
className?: string;
|
|
114
114
|
} & ComponentPropsWithRef<'div'>;
|
|
115
|
+
export type CardFooterAppearance = 'plain' | 'no-background';
|
|
115
116
|
export type CardFooterProps = {
|
|
117
|
+
/**
|
|
118
|
+
* The visual appearance of the footer background.
|
|
119
|
+
* @default 'plain'
|
|
120
|
+
*/
|
|
121
|
+
appearance?: CardFooterAppearance;
|
|
116
122
|
/**
|
|
117
123
|
* The footer content (DescriptionItem, Button, etc.).
|
|
118
124
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/lib/Components/core/Card/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qBAAqB,EACrB,iBAAiB,EACjB,SAAS,EACV,MAAM,OAAO,CAAC;AAEf,MAAM,MAAM,QAAQ,GAAG,aAAa,GAAG,YAAY,GAAG,MAAM,CAAC;AAE7D,MAAM,MAAM,gBAAgB,GAAG;IAC7B,aAAa,EAAE,OAAO,CAAC;IACvB,eAAe,EAAE,OAAO,CAAC;IACzB,cAAc,EAAE,OAAO,CAAC;IACxB,QAAQ,EAAE,OAAO,CAAC;IAClB,aAAa,CAAC,EAAE,iBAAiB,CAAC,cAAc,CAAC,CAAC;CACnD,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG;IACzC,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACtB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC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E,SAAS,CAAC;IACpB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAC;AAEjC,MAAM,MAAM,oBAAoB,GAAG,OAAO,GAAG,eAAe,CAAC;AAE7D,MAAM,MAAM,eAAe,GAAG;IAC5B;;;OAGG;IACH,UAAU,CAAC,EAAE,oBAAoB,CAAC;IAClC;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAC;AAEjC,MAAM,MAAM,sBAAsB,GAAG;IACnC;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -11,7 +11,7 @@ import { DataTableProps, DataTableRootProps } from './types';
|
|
|
11
11
|
* <DataTable />
|
|
12
12
|
* </DataTableRoot>
|
|
13
13
|
*/
|
|
14
|
-
export declare const DataTableRoot: <TData extends RowData>({ table, appearance, paginationMode, loading, onScrollBottom, onRowClick, groupBy, renderGroupHeader, hideHeader, stickyHeader, children, className, ref, ...props }: DataTableRootProps<TData>) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare const DataTableRoot: <TData extends RowData = RowData>({ table, appearance, paginationMode, loading, onScrollBottom, onRowClick, groupBy, renderGroupHeader, hideHeader, stickyHeader, children, className, ref, ...props }: DataTableRootProps<TData>) => import("react/jsx-runtime").JSX.Element;
|
|
15
15
|
/**
|
|
16
16
|
* Renders the full table (header + body) from the TanStack table instance
|
|
17
17
|
* provided by `DataTableRoot`. Internally composes the pure-UI Table building blocks.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataTable.d.ts","sourceRoot":"","sources":["../../../../../src/lib/Components/core/DataTable/DataTable.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEV,OAAO,EAER,MAAM,uBAAuB,CAAC;AAI/B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAkBvD,OAAO,KAAK,EAGV,cAAc,EACd,kBAAkB,EACnB,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"DataTable.d.ts","sourceRoot":"","sources":["../../../../../src/lib/Components/core/DataTable/DataTable.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEV,OAAO,EAER,MAAM,uBAAuB,CAAC;AAI/B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAkBvD,OAAO,KAAK,EAGV,cAAc,EACd,kBAAkB,EACnB,MAAM,SAAS,CAAC;AAkBjB;;;;;;;;;GASG;AACH,eAAO,MAAM,aAAa,GAAI,KAAK,SAAS,OAAO,GAAG,OAAO,EAAE,sKAe5D,kBAAkB,CAAC,KAAK,CAAC,4CAuB3B,CAAC;AAqFF;;;;;;;;GAQG;AACH,eAAO,MAAM,SAAS,GAAI,8BAA8B,cAAc,4CA8BrE,CAAC;AAyHF;;;GAGG;AACH,eAAO,MAAM,0BAA0B,GAAI,wBAGxC,gBAAgB,4CAqBlB,CAAC"}
|
|
@@ -142,7 +142,10 @@ const [j, i] = f("DataTableContext"), X = ({
|
|
|
142
142
|
const { table: e, groupBy: a, renderGroupHeader: s } = i({
|
|
143
143
|
consumerName: "DataTableGroupedBody",
|
|
144
144
|
contextRequired: !0
|
|
145
|
-
}), r = A(
|
|
145
|
+
}), r = A(
|
|
146
|
+
e.getRowModel().rows,
|
|
147
|
+
a
|
|
148
|
+
);
|
|
146
149
|
return /* @__PURE__ */ o(b, { ref: n, className: l, ...t, children: r.map((c) => /* @__PURE__ */ m(x, { children: [
|
|
147
150
|
/* @__PURE__ */ o(I, { colSpan: c.rows[0].getVisibleCells().length, children: s ? s({ row: c.rows[0], count: c.count }) : c.key }),
|
|
148
151
|
c.rows.map((u) => /* @__PURE__ */ o(g, { row: u }, u.id))
|
|
@@ -2,10 +2,10 @@ import { jsxs as i, Fragment as c, jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import { cn as s } from "../../../../../libs/utils-shared/dist/index.js";
|
|
3
3
|
import * as h from "@radix-ui/react-dialog";
|
|
4
4
|
import { cva as u } from "class-variance-authority";
|
|
5
|
+
import { DialogClose as N } from "../DialogClose/DialogClose.js";
|
|
5
6
|
import { useCommonTranslation as x } from "../../../../../i18n/useCommonTranslation.js";
|
|
6
7
|
import { IconButton as f } from "../../IconButton/IconButton.js";
|
|
7
|
-
import { ArrowLeft as
|
|
8
|
-
import { DialogClose as b } from "../DialogClose/DialogClose.js";
|
|
8
|
+
import { ArrowLeft as b } from "../../../symbols/icons/ArrowLeft.js";
|
|
9
9
|
import { Close as v } from "../../../symbols/icons/Close.js";
|
|
10
10
|
const D = u("flex px-24 text-base", {
|
|
11
11
|
variants: {
|
|
@@ -21,7 +21,7 @@ const D = u("flex px-24 text-base", {
|
|
|
21
21
|
{
|
|
22
22
|
appearance: "no-background",
|
|
23
23
|
size: "sm",
|
|
24
|
-
icon:
|
|
24
|
+
icon: b,
|
|
25
25
|
onClick: r,
|
|
26
26
|
className: "-ml-12 shrink-0",
|
|
27
27
|
"aria-label": a("components.dialogHeader.goBackAriaLabel")
|
|
@@ -29,7 +29,7 @@ const D = u("flex px-24 text-base", {
|
|
|
29
29
|
);
|
|
30
30
|
}, p = ({ onClose: r }) => {
|
|
31
31
|
const { t: a } = x();
|
|
32
|
-
return /* @__PURE__ */ e(
|
|
32
|
+
return /* @__PURE__ */ e(N, { asChild: !0, children: /* @__PURE__ */ e(
|
|
33
33
|
f,
|
|
34
34
|
{
|
|
35
35
|
appearance: "gray",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
2
|
import { SegmentedControlButtonProps, SegmentedControlProps, SegmentedControlValue } from './types';
|
|
3
|
-
export declare function SegmentedControlButton<T extends SegmentedControlValue = SegmentedControlValue>({ value, children, icon: Icon, trailingContent, onClick, className, ...props }: SegmentedControlButtonProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare function SegmentedControlButton<T extends SegmentedControlValue = SegmentedControlValue>({ value, children, icon: Icon, trailingContent, onClick, className, disabled, ...props }: SegmentedControlButtonProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export declare function SegmentedControl<T extends SegmentedControlValue = SegmentedControlValue>({ selectedValue, onSelectedChange, children, className, disabled: disabledProp, appearance, tabLayout, ...props }: SegmentedControlProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
export declare function createSegmentedControl<T extends SegmentedControlValue = never>(): {
|
|
6
6
|
SegmentedControl: (props: SegmentedControlProps<T>) => ReactElement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SegmentedControl.d.ts","sourceRoot":"","sources":["../../../../../src/lib/Components/core/SegmentedControl/SegmentedControl.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"SegmentedControl.d.ts","sourceRoot":"","sources":["../../../../../src/lib/Components/core/SegmentedControl/SegmentedControl.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAGV,YAAY,EAEb,MAAM,OAAO,CAAC;AAQf,OAAO,KAAK,EACV,2BAA2B,EAC3B,qBAAqB,EACrB,qBAAqB,EACtB,MAAM,SAAS,CAAC;AA8PjB,wBAAgB,sBAAsB,CACpC,CAAC,SAAS,qBAAqB,GAAG,qBAAqB,EACvD,EACA,KAAK,EACL,QAAQ,EACR,IAAI,EAAE,IAAI,EACV,eAAe,EACf,OAAO,EACP,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,2BAA2B,CAAC,CAAC,CAAC,2CAuChC;AAED,wBAAgB,gBAAgB,CAC9B,CAAC,SAAS,qBAAqB,GAAG,qBAAqB,EACvD,EACA,aAAa,EACb,gBAAgB,EAChB,QAAQ,EACR,SAAS,EACT,QAAQ,EAAE,YAAY,EACtB,UAAyB,EACzB,SAAmB,EACnB,GAAG,KAAK,EACT,EAAE,qBAAqB,CAAC,CAAC,CAAC,2CAqC1B;AAED,wBAAgB,sBAAsB,CACpC,CAAC,SAAS,qBAAqB,GAAG,KAAK,KACpC;IACH,gBAAgB,EAAE,CAAC,KAAK,EAAE,qBAAqB,CAAC,CAAC,CAAC,KAAK,YAAY,CAAC;IACpE,sBAAsB,EAAE,CACtB,KAAK,EAAE,2BAA2B,CAAC,CAAC,CAAC,KAClC,YAAY,CAAC;CACnB,CAEA"}
|