Skip to content

Commit fa3803d

Browse files
authored
Merge pull request #39 from buildo/tooltip-fix
2 parents 7e0bf74 + a92517e commit fa3803d

File tree

3 files changed

+22
-12
lines changed

3 files changed

+22
-12
lines changed

package.json

+6-1
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,14 @@
3434
],
3535
"license": "MIT",
3636
"homepage": "https://github.com/buildo/bento-design-system#readme",
37+
"dependenciesComments": {
38+
"@farzadsh/floating-ui-*": "NOTE(gabro): we are using a fork of Floating UI due to an issue with the build of the published package. See https://github.com/floating-ui/floating-ui/pull/1529"
39+
},
3740
"dependencies": {
3841
"@dessert-box/react": "^0.2.0",
39-
"@floating-ui/react-dom": "^0.4.3",
42+
"@farzadsh/floating-ui-core": "^0.4.1",
43+
"@farzadsh/floating-ui-dom": "^0.2.1",
44+
"@farzadsh/floating-ui-react-dom": "^0.4.4",
4045
"@react-aria/breadcrumbs": "^3.1.5",
4146
"@react-aria/button": "^3.3.4",
4247
"@react-aria/checkbox": "^3.2.3",

pnpm-lock.yaml

+15-10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Tooltip/Tooltip.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { ComponentProps, HTMLAttributes, Ref, useRef } from "react";
22
import { Label, TextChildren } from "..";
33
import { BentoSprinkles, Box, Inset } from "../internal";
4-
import { useFloating, shift, autoPlacement, offset, arrow } from "@floating-ui/react-dom";
4+
import { useFloating, shift, autoPlacement, offset, arrow } from "@farzadsh/floating-ui-react-dom";
55
import { useTooltipTriggerState } from "@react-stately/tooltip";
66
import { useTooltipTrigger, useTooltip } from "@react-aria/tooltip";
77
import { tooltip, arrow as arrowStyle } from "./Tooltip.css";

0 commit comments

Comments
 (0)