yuyeon 0.2.3-rc.15 → 0.2.3-rc.17

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.
package/dist/yuyeon.js CHANGED
@@ -1509,6 +1509,7 @@ const ge = "y-input", ot = j({
1509
1509
  style: [{
1510
1510
  ..._.value
1511
1511
  }],
1512
+ "data-base-parent": !0,
1512
1513
  onClick: T,
1513
1514
  onMousedown: D,
1514
1515
  onMouseup: B,
@@ -1704,8 +1705,7 @@ const ge = "y-input", ot = j({
1704
1705
  return d("div", {
1705
1706
  class: [`${Vt}__field`],
1706
1707
  "data-id": D.attrId,
1707
- ref: "field",
1708
- "data-base-parent": !0
1708
+ ref: "field"
1709
1709
  }, [e.floating ? ($ = (B = r.value) == null ? void 0 : B.createLabel) == null ? void 0 : $.call(B) : void 0, (F = i.default) == null ? void 0 : F.call(i, D), d("input", {
1710
1710
  ref: l,
1711
1711
  value: m.value,
@@ -8040,13 +8040,16 @@ const Ri = j({
8040
8040
  let c;
8041
8041
  return t.menu ? t.menu() : d(Pt, null, {
8042
8042
  default: () => [Array.isArray(e.items) && e.items.length > 0 ? d($n, null, bu(c = e.items.map((s) => {
8043
- const u = Z(s, e.itemText);
8043
+ const u = Z(s, e.itemText), m = `item.${s.key}`;
8044
8044
  return d(Bn, {
8045
- onClick: (m) => r(s)
8045
+ onClick: (y) => r(s)
8046
8046
  }, {
8047
8047
  default: () => [t.item ? t.item({
8048
8048
  text: u,
8049
8049
  item: s
8050
+ }) : t != null && t[m] ? t[m]({
8051
+ text: u,
8052
+ item: s
8050
8053
  }) : u]
8051
8054
  });
8052
8055
  })) ? c : {