@viraui/react 2026.0.7 → 2026.0.8

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.
@@ -2,6 +2,7 @@ import './toggle-button.css';
2
2
  import { IconButton } from "../icon-button/icon-button.js";
3
3
  import toggle_button_module_default from "./toggle-button.module.js";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
+ import { mergeProps } from "@base-ui/react/merge-props";
5
6
  import { Toggle } from "@base-ui/react/toggle";
6
7
  //#region src/components/toggle-button/toggle-button.tsx
7
8
  var ToggleButton = ({ restingIcon, pressedIcon, variant = "flat", pressedVariant, interpolateIcons = false, pressed, defaultPressed, onPressedChange, value, disabled, ref, ...otherProps }) => /* @__PURE__ */ jsx(Toggle, {
@@ -28,8 +29,7 @@ var ToggleButton = ({ restingIcon, pressedIcon, variant = "flat", pressedVariant
28
29
  })]
29
30
  }) : restingIcon;
30
31
  return /* @__PURE__ */ jsx(IconButton, {
31
- ...otherProps,
32
- ...restToggleProps,
32
+ ...mergeProps(restToggleProps, otherProps),
33
33
  disabled,
34
34
  variant: state.pressed ? pressedVariant ?? variant : variant,
35
35
  icon
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viraui/react",
3
- "version": "2026.0.7",
3
+ "version": "2026.0.8",
4
4
  "private": false,
5
5
  "files": [
6
6
  "dist"
@@ -35,7 +35,7 @@
35
35
  "unplugin-dts": "1.0.3",
36
36
  "vite": "8.1.4",
37
37
  "vite-plugin-static-copy": "4.1.1",
38
- "@viraui/foundation": "2026.0.7",
38
+ "@viraui/foundation": "2026.0.8",
39
39
  "@viraui/icons": "2026.0.0",
40
40
  "@viraui/postcss-config": "2026.0.0",
41
41
  "@viraui/tsconfig": "2026.0.0"