melonykit 0.15.9 → 0.15.10

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 +5 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2244,6 +2244,8 @@ function Yt({ columns: e = [], rows: t = [], width: n, height: r, showLineNumber
2244
2244
  children: "#"
2245
2245
  }), e.map((e) => /* @__PURE__ */ s("th", {
2246
2246
  style: Zt(e),
2247
+ "is-clickable": !!e.onClick || void 0,
2248
+ onClick: (t) => e.onClick?.(t, e),
2247
2249
  children: e.label
2248
2250
  }, e.key))] }) }),
2249
2251
  /* @__PURE__ */ s("tbody", { children: f.length === 0 ? /* @__PURE__ */ s("tr", { children: /* @__PURE__ */ s("td", {
@@ -2251,7 +2253,7 @@ function Yt({ columns: e = [], rows: t = [], width: n, height: r, showLineNumber
2251
2253
  colSpan: Math.max(e.length + Number(i), 1),
2252
2254
  children: /* @__PURE__ */ s("span", {
2253
2255
  className: $.emptyContent,
2254
- children: "Keine Einträge vorhanden."
2256
+ children: "Keine Einträge ..."
2255
2257
  })
2256
2258
  }) }) : f.map((t, n) => /* @__PURE__ */ c("tr", { children: [i && /* @__PURE__ */ s("td", {
2257
2259
  className: $.number,
@@ -2346,6 +2348,8 @@ var $ = {
2346
2348
  letter-spacing: .8px;
2347
2349
  }
2348
2350
 
2351
+ th[is-clickable] { cursor: pointer; }
2352
+
2349
2353
  tbody tr:last-child td { border-bottom: 0; }
2350
2354
  `,
2351
2355
  line: H`
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Vadim Hermann",
3
3
  "name": "melonykit",
4
- "version": "0.15.9",
4
+ "version": "0.15.10",
5
5
  "type": "module",
6
6
  "description": "Preact based ui and utility functions toolkit",
7
7
  "main": "./dist/index.js",