melonykit 0.15.12 → 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 +23 -18
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1064,30 +1064,30 @@ var mt = {
1064
1064
  };
1065
1065
  //#endregion
1066
1066
  //#region src/components/_app-wrapper.jsx
1067
- function ht({ maxWidth: e = "67.5rem", logo: t, version: n, actions: r = [], children: i }) {
1067
+ function ht({ className: e, maxWidth: t = "67.5rem", logo: n, version: r, actions: i = [], children: a }) {
1068
1068
  return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ c("div", {
1069
- className: K.base,
1069
+ className: V(K.base, e),
1070
1070
  children: [
1071
1071
  /* @__PURE__ */ c("header", {
1072
1072
  className: K.header,
1073
- children: [t && /* @__PURE__ */ s("a", {
1073
+ children: [n && /* @__PURE__ */ s("a", {
1074
1074
  href: "/",
1075
1075
  children: /* @__PURE__ */ s("img", {
1076
1076
  className: K.logo,
1077
- src: t
1077
+ src: n
1078
1078
  })
1079
- }), r.length > 0 && /* @__PURE__ */ s(dt, { items: r })]
1079
+ }), i.length > 0 && /* @__PURE__ */ s(dt, { items: i })]
1080
1080
  }),
1081
1081
  /* @__PURE__ */ s("div", {
1082
1082
  className: K.inner,
1083
- style: { maxWidth: e },
1084
- children: i
1083
+ style: { maxWidth: t },
1084
+ children: a
1085
1085
  }),
1086
- n && /* @__PURE__ */ s(o, { children: /* @__PURE__ */ c(pt, {
1086
+ r && /* @__PURE__ */ s(o, { children: /* @__PURE__ */ c(pt, {
1087
1087
  className: K.version,
1088
1088
  size: "small",
1089
1089
  color: U.colors.fore.secondary,
1090
- children: ["v", n]
1090
+ children: ["v", r]
1091
1091
  }) })
1092
1092
  ]
1093
1093
  }) });
@@ -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.12",
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",