@versini/ui-togglegroup 5.0.9 → 5.1.0

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.
@@ -99,7 +99,7 @@ function he(e) {
99
99
  });
100
100
  return t.displayName = `${e}.SlotClone`, t;
101
101
  }
102
- var Ie = Symbol("radix.slottable");
102
+ var Ie = /* @__PURE__ */ Symbol("radix.slottable");
103
103
  function Re(e) {
104
104
  return u.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Ie;
105
105
  }
@@ -139,7 +139,7 @@ var Te = [
139
139
  ], A = Te.reduce((e, t) => {
140
140
  const o = /* @__PURE__ */ $(`Primitive.${t}`), r = u.forwardRef((n, s) => {
141
141
  const { asChild: l, ...c } = n, i = l ? o : t;
142
- return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ f(i, { ...c, ref: s });
142
+ return typeof window < "u" && (window[/* @__PURE__ */ Symbol.for("radix-ui")] = !0), /* @__PURE__ */ f(i, { ...c, ref: s });
143
143
  });
144
144
  return r.displayName = `Primitive.${t}`, { ...e, [t]: r };
145
145
  }, {});
@@ -168,7 +168,9 @@ function Ee(e) {
168
168
  const a = e + "CollectionItemSlot", d = "data-radix-collection-item", I = /* @__PURE__ */ $(a), y = v.forwardRef(
169
169
  (h, p) => {
170
170
  const { scope: b, children: T, ...m } = h, C = v.useRef(null), _ = L(p, C), G = s(a, b);
171
- return v.useEffect(() => (G.itemMap.set(C, { ref: C, ...m }), () => void G.itemMap.delete(C))), /* @__PURE__ */ f(I, { [d]: "", ref: _, children: T });
171
+ return v.useEffect(() => (G.itemMap.set(C, { ref: C, ...m }), () => {
172
+ G.itemMap.delete(C);
173
+ })), /* @__PURE__ */ f(I, { [d]: "", ref: _, children: T });
172
174
  }
173
175
  );
174
176
  y.displayName = a;
package/dist/index.js CHANGED
@@ -1,12 +1,8 @@
1
1
  import { TOGGLEGROUP_CLASSNAME as o, TOGGLEGROUP_ITEM_CLASSNAME as E, TOGGLEGROUP_ITEM_WRAPPER_CLASSNAME as T, ToggleGroup as r, ToggleGroupItem as i } from "./components/ToggleGroup/ToggleGroup.js";
2
- /*!
3
- @versini/ui-togglegroup v5.0.9
4
- © 2025 gizmette.com
5
- */
6
2
  try {
7
3
  window.__VERSINI_UI_TOGGLEGROUP__ || (window.__VERSINI_UI_TOGGLEGROUP__ = {
8
- version: "5.0.9",
9
- buildTime: "12/15/2025 01:22 PM EST",
4
+ version: "5.1.0",
5
+ buildTime: "12/25/2025 10:41 AM EST",
10
6
  homepage: "https://www.npmjs.com/package/@versini/ui-togglegroup",
11
7
  license: "MIT"
12
8
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versini/ui-togglegroup",
3
- "version": "5.0.9",
3
+ "version": "5.1.0",
4
4
  "license": "MIT",
5
5
  "author": "Arno Versini",
6
6
  "publishConfig": {
@@ -37,7 +37,7 @@
37
37
  "test": "vitest run"
38
38
  },
39
39
  "devDependencies": {
40
- "@versini/ui-types": "8.0.0"
40
+ "@versini/ui-types": "8.1.0"
41
41
  },
42
42
  "dependencies": {
43
43
  "@radix-ui/react-toggle-group": "1.1.11",
@@ -48,5 +48,5 @@
48
48
  "sideEffects": [
49
49
  "**/*.css"
50
50
  ],
51
- "gitHead": "28e13adabce18578034a9ca5553d7cfb9853c214"
51
+ "gitHead": "b2ee2e328ecadfbedcb26d14afa896a30f0ab54b"
52
52
  }