@vertz/ui-primitives 0.2.11 → 0.2.12

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 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -3174,7 +3174,7 @@ import { signal as signal25 } from "@vertz/ui";
3174
3174
  import { __attr as __attr4, __element as __element4, __on as __on3 } from "@vertz/ui/internals";
3175
3175
  function SwitchRoot(options = {}) {
3176
3176
  const { defaultChecked = false, disabled = false, onCheckedChange } = options;
3177
- const checked = signal25(defaultChecked);
3177
+ const checked = signal25(defaultChecked, "checked");
3178
3178
  function toggle() {
3179
3179
  if (disabled)
3180
3180
  return;
@@ -3333,7 +3333,7 @@ import { signal as signal28 } from "@vertz/ui";
3333
3333
  import { __attr as __attr5, __element as __element5, __on as __on4 } from "@vertz/ui/internals";
3334
3334
  function ToggleRoot(options = {}) {
3335
3335
  const { defaultPressed = false, disabled = false, onPressedChange } = options;
3336
- const pressed = signal28(defaultPressed);
3336
+ const pressed = signal28(defaultPressed, "pressed");
3337
3337
  function toggle() {
3338
3338
  if (disabled)
3339
3339
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vertz/ui-primitives",
3
- "version": "0.2.11",
3
+ "version": "0.2.12",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "Headless UI primitives for Vertz — Accordion, Dialog, Select, and more",