@astral/ui 4.0.0-alpha.39 → 4.0.0-alpha.40

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.
@@ -16,7 +16,7 @@ import { Tooltip } from '../Tooltip';
16
16
  export const ListItemButton = forwardRef((props, ref) => {
17
17
  const { disabledReason, disabled, tooltipPlacement, note, withoutContainer = false } = props, restProps = __rest(props, ["disabledReason", "disabled", "tooltipPlacement", "note", "withoutContainer"]);
18
18
  const renderListItemButton = () => {
19
- return (_jsx(Tooltip, { title: disabled ? disabledReason : note, placement: tooltipPlacement, withoutContainer: !disabled, children: _jsx(MuiListItemButton, Object.assign({ ref: ref, disabled: disabled }, restProps, { component: "div", disableRipple: true })) }));
19
+ return (_jsx(Tooltip, { title: disabled ? disabledReason : note, placement: tooltipPlacement, withoutContainer: !disabled, children: _jsx("div", { children: _jsx(MuiListItemButton, Object.assign({ ref: ref, disabled: disabled, component: "div" }, restProps, { disableRipple: true })) }) }));
20
20
  };
21
21
  if (withoutContainer) {
22
22
  return renderListItemButton();
@@ -19,7 +19,7 @@ const Tooltip_1 = require("../Tooltip");
19
19
  exports.ListItemButton = (0, react_1.forwardRef)((props, ref) => {
20
20
  const { disabledReason, disabled, tooltipPlacement, note, withoutContainer = false } = props, restProps = __rest(props, ["disabledReason", "disabled", "tooltipPlacement", "note", "withoutContainer"]);
21
21
  const renderListItemButton = () => {
22
- return ((0, jsx_runtime_1.jsx)(Tooltip_1.Tooltip, { title: disabled ? disabledReason : note, placement: tooltipPlacement, withoutContainer: !disabled, children: (0, jsx_runtime_1.jsx)(material_1.ListItemButton, Object.assign({ ref: ref, disabled: disabled }, restProps, { component: "div", disableRipple: true })) }));
22
+ return ((0, jsx_runtime_1.jsx)(Tooltip_1.Tooltip, { title: disabled ? disabledReason : note, placement: tooltipPlacement, withoutContainer: !disabled, children: (0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsx)(material_1.ListItemButton, Object.assign({ ref: ref, disabled: disabled, component: "div" }, restProps, { disableRipple: true })) }) }));
23
23
  };
24
24
  if (withoutContainer) {
25
25
  return renderListItemButton();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astral/ui",
3
- "version": "4.0.0-alpha.39",
3
+ "version": "4.0.0-alpha.40",
4
4
  "browser": "./index.js",
5
5
  "main": "./node/index.js",
6
6
  "dependencies": {