melonykit 0.19.5 → 0.19.6

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 +2 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1648,9 +1648,10 @@ function en({ items: e = [], value: t, width: n, isDisabled: r = !1, onChange: o
1648
1648
  children: e.map((e) => /* @__PURE__ */ l("button", {
1649
1649
  type: "button",
1650
1650
  className: tn.option,
1651
+ "aria-label": e.label,
1651
1652
  "is-selected": e.value === p.value || void 0,
1652
1653
  onClick: () => y(e),
1653
- children: e.label
1654
+ children: e.content ?? e.label
1654
1655
  }, e.value))
1655
1656
  })
1656
1657
  }) });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Vadim Hermann",
3
3
  "name": "melonykit",
4
- "version": "0.19.5",
4
+ "version": "0.19.6",
5
5
  "type": "module",
6
6
  "description": "Preact based ui and utility functions toolkit",
7
7
  "main": "./dist/index.js",