@protonradio/proton-ui 0.7.15 → 0.7.16
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/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +20 -21
- package/dist/index.es.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -11430,7 +11430,8 @@ function Kh({
|
|
|
11430
11430
|
a ? "proton-Table__row--selected" : null,
|
|
11431
11431
|
s ? "proton-Table__row--pressed" : null,
|
|
11432
11432
|
c ? "proton-Table__row--focused" : null,
|
|
11433
|
-
i && "proton-Table__row--showLines"
|
|
11433
|
+
i && "proton-Table__row--showLines",
|
|
11434
|
+
l && "proton-Table__row--clickable"
|
|
11434
11435
|
),
|
|
11435
11436
|
style: r ? { backgroundColor: r } : void 0,
|
|
11436
11437
|
...H(u, d),
|
|
@@ -11450,7 +11451,8 @@ function Mh({ cell: t, state: e, width: n, onClick: r }) {
|
|
|
11450
11451
|
className: W(
|
|
11451
11452
|
"proton-Table__cell",
|
|
11452
11453
|
o ? "proton-Table__cell--focused" : null,
|
|
11453
|
-
`proton-Table__cell--${u}
|
|
11454
|
+
`proton-Table__cell--${u}`,
|
|
11455
|
+
r && "proton-Table--clickable"
|
|
11454
11456
|
),
|
|
11455
11457
|
style: n ? { width: n } : void 0,
|
|
11456
11458
|
ref: l,
|
|
@@ -11508,25 +11510,22 @@ const p4 = ({
|
|
|
11508
11510
|
lines: r = 1,
|
|
11509
11511
|
title: l,
|
|
11510
11512
|
"data-testid": i
|
|
11511
|
-
}) =>
|
|
11512
|
-
|
|
11513
|
-
|
|
11514
|
-
|
|
11515
|
-
|
|
11516
|
-
|
|
11517
|
-
|
|
11518
|
-
|
|
11519
|
-
|
|
11520
|
-
|
|
11521
|
-
|
|
11522
|
-
|
|
11523
|
-
|
|
11524
|
-
|
|
11525
|
-
|
|
11526
|
-
|
|
11527
|
-
}
|
|
11528
|
-
);
|
|
11529
|
-
};
|
|
11513
|
+
}) => /* @__PURE__ */ b.jsx(
|
|
11514
|
+
"div",
|
|
11515
|
+
{
|
|
11516
|
+
className: W(
|
|
11517
|
+
"proton-TextEllipsis",
|
|
11518
|
+
n || r === 1 ? "proton-TextEllipsis--single-line" : r > 1 ? "proton-TextEllipsis--multi-line" : ""
|
|
11519
|
+
),
|
|
11520
|
+
style: {
|
|
11521
|
+
maxWidth: e,
|
|
11522
|
+
WebkitLineClamp: r
|
|
11523
|
+
},
|
|
11524
|
+
title: l,
|
|
11525
|
+
"data-testid": i,
|
|
11526
|
+
children: t
|
|
11527
|
+
}
|
|
11528
|
+
);
|
|
11530
11529
|
function Ih({ children: t, arrow: e, ...n }) {
|
|
11531
11530
|
const { style: r, className: l } = Ae();
|
|
11532
11531
|
return /* @__PURE__ */ b.jsxs(
|