melonykit 0.8.1 → 0.8.2

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 +16 -10
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -223,15 +223,17 @@ function H(e, t, n, r, i, a, o, s, c) {
223
223
  _ == -1 && (w = T(w, /\f/g, "")), p > 0 && O(w) - d && k(p > 32 ? ve(w + ";", r, n, d - 1) : ve(T(w, " ", "") + ";", r, n, d - 2), c);
224
224
  break;
225
225
  case 59: w += ";";
226
- default: if (k(C = ge(w, t, n, l, u, i, s, y, b = [], S = [], d), a), v === 123) if (u === 0) H(w, t, C, C, b, a, d, s, S);
227
- else switch (f === 99 && E(w, 3) === 110 ? 100 : f) {
228
- case 100:
229
- case 108:
230
- case 109:
231
- case 115:
232
- H(e, C, C, r && k(ge(e, C, C, 0, 0, i, s, y, i, b = [], d), S), i, S, d, s, r ? b : S);
233
- break;
234
- default: H(w, C, C, C, [""], S, 0, s, S);
226
+ default: if (k(C = ge(w, t, n, l, u, i, s, y, b = [], S = [], d), a), v === 123) {
227
+ if (u === 0) H(w, t, C, C, b, a, d, s, S);
228
+ else switch (f === 99 && E(w, 3) === 110 ? 100 : f) {
229
+ case 100:
230
+ case 108:
231
+ case 109:
232
+ case 115:
233
+ H(e, C, C, r && k(ge(e, C, C, 0, 0, i, s, y, i, b = [], d), S), i, S, d, s, r ? b : S);
234
+ break;
235
+ default: H(w, C, C, C, [""], S, 0, s, S);
236
+ }
235
237
  }
236
238
  }
237
239
  l = u = p = 0, h = _ = 1, y = w = "", d = o;
@@ -1331,7 +1333,7 @@ function Ct({ className: t, variant: n = "normal", iconName: r, label: i }) {
1331
1333
  ${Y.extends.verticalCenter}
1332
1334
  left: .3rem;
1333
1335
  `,
1334
- name: r,
1336
+ iconName: r,
1335
1337
  size: ".9rem"
1336
1338
  }) }), i]
1337
1339
  }) });
@@ -1411,6 +1413,10 @@ function Dt({ className: e, width: t, height: r, initialIndex: c = 0, items: l =
1411
1413
  return /* @__PURE__ */ o(a, { children: /* @__PURE__ */ s("button", {
1412
1414
  id: `${d}-tab-${t}`,
1413
1415
  className: $.tab,
1416
+ style: e.width == null ? void 0 : {
1417
+ flex: `0 0 ${e.width}`,
1418
+ width: e.width
1419
+ },
1414
1420
  type: "button",
1415
1421
  role: "tab",
1416
1422
  "aria-controls": `${d}-panel-${t}`,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Vadim Hermann",
3
3
  "name": "melonykit",
4
- "version": "0.8.1",
4
+ "version": "0.8.2",
5
5
  "type": "module",
6
6
  "description": "Preact based ui and utility functions toolkit",
7
7
  "main": "./dist/index.js",
@@ -40,7 +40,7 @@
40
40
  "@preact/signals": "2.11.1",
41
41
  "@types/node": "26.2.0",
42
42
  "preact": "10.29.8",
43
- "vite": "8.2.1",
43
+ "vite": "8.2.2",
44
44
  "vite-plugin-mkcert": "2.1.0"
45
45
  }
46
46
  }