melonykit 0.15.13 → 0.15.14

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.
Files changed (2) hide show
  1. package/dist/index.js +14 -9
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2267,15 +2267,18 @@ function Yt({ columns: e = [], rows: t = [], width: n, height: r, showLineNumber
2267
2267
  onClick: (t) => e.onClick?.(t, e),
2268
2268
  children: e.label
2269
2269
  }, e.key))] }) }),
2270
- /* @__PURE__ */ s("tbody", { children: f.length === 0 ? /* @__PURE__ */ s("tr", { children: /* @__PURE__ */ s("td", {
2271
- className: $.empty,
2270
+ /* @__PURE__ */ s("tbody", { children: f.length === 0 ? /* @__PURE__ */ s("tr", {
2272
2271
  "is-empty": !0,
2273
- colSpan: Math.max(e.length + Number(i), 1),
2274
- children: /* @__PURE__ */ s("span", {
2275
- className: $.emptyContent,
2276
- children: "Keine Einträge ..."
2272
+ children: /* @__PURE__ */ s("td", {
2273
+ className: $.empty,
2274
+ "is-empty": !0,
2275
+ colSpan: Math.max(e.length + Number(i), 1),
2276
+ children: /* @__PURE__ */ s("span", {
2277
+ className: $.emptyContent,
2278
+ children: "Keine Einträge ..."
2279
+ })
2277
2280
  })
2278
- }) }) : f.map((t, n) => /* @__PURE__ */ c("tr", {
2281
+ }) : f.map((t, n) => /* @__PURE__ */ c("tr", {
2279
2282
  "is-clickable": u ? !0 : void 0,
2280
2283
  tabIndex: u ? 0 : void 0,
2281
2284
  onClick: u ? (e) => p(e, t, n) : void 0,
@@ -2379,7 +2382,9 @@ var $ = {
2379
2382
 
2380
2383
  tbody tr { transition: background-color .15s ease; }
2381
2384
 
2382
- tbody tr:hover { background-color: ${U.colors.back.secondary}; }
2385
+ tbody tr:not([is-empty]):hover {
2386
+ background-color: ${U.colors.back.secondary};
2387
+ }
2383
2388
 
2384
2389
  tbody tr[is-clickable] { cursor: pointer; }
2385
2390
 
@@ -2400,7 +2405,7 @@ var $ = {
2400
2405
  `,
2401
2406
  empty: H`
2402
2407
  position: relative;
2403
- height: 8.25rem;
2408
+ height: 3.25rem;
2404
2409
  padding: 0;
2405
2410
  color: ${U.colors.fore.secondary};
2406
2411
  text-align: center;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Vadim Hermann",
3
3
  "name": "melonykit",
4
- "version": "0.15.13",
4
+ "version": "0.15.14",
5
5
  "type": "module",
6
6
  "description": "Preact based ui and utility functions toolkit",
7
7
  "main": "./dist/index.js",