@stenajs-webui/elements 18.7.0 → 18.7.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.
package/dist/index.es.js CHANGED
@@ -2636,15 +2636,16 @@ const U4 = {
2636
2636
  disabled: t,
2637
2637
  onClick: s,
2638
2638
  ...r
2639
- }) {
2640
- const C = W((M) => {
2641
- s == null || s(M), o == null || o(!n);
2639
+ }, C) {
2640
+ const M = W((z) => {
2641
+ s == null || s(z), o == null || o(!n);
2642
2642
  }, [s, o, n]);
2643
2643
  return /* @__PURE__ */ l(g2, {
2644
2644
  "aria-pressed": n,
2645
2645
  className: h(Q.toggleButton, Q[a], n && Q.pressed),
2646
- onClick: C,
2646
+ onClick: M,
2647
2647
  disabled: t,
2648
+ ref: C,
2648
2649
  ...r,
2649
2650
  children: /* @__PURE__ */ l(D, {
2650
2651
  size: "small",