@react-fabric/core 1.0.0-beta.42 → 1.0.0-beta.43

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.
@@ -125,7 +125,9 @@ var ConfirmButton = function ConfirmButton(_ref) {
125
125
  "data-color": color,
126
126
  className: classNames("select-none not-italic rounded-capped shadow-lg outline outline-muted bg-base"),
127
127
  ref: refs.setFloating,
128
- style: floatingStyles
128
+ style: _objectSpread({
129
+ zIndex: "var(--z-popover)"
130
+ }, floatingStyles)
129
131
  }, getFloatingProps()), {}, {
130
132
  children: [/*#__PURE__*/jsxRuntime.jsxs("div", {
131
133
  className: "font-medium ",
@@ -72,7 +72,7 @@ var Tooltip = function Tooltip(_ref) {
72
72
  floatingStyles = _useFloating.floatingStyles,
73
73
  context = _useFloating.context;
74
74
  var hover = react$1.useHover(context, {
75
- restMs: 250,
75
+ restMs: 500,
76
76
  delay: {
77
77
  open: 1000
78
78
  },
@@ -125,7 +125,9 @@ var ConfirmButton = function ConfirmButton(_ref) {
125
125
  "data-color": color,
126
126
  className: classNames("select-none not-italic rounded-capped shadow-lg outline outline-muted bg-base"),
127
127
  ref: refs.setFloating,
128
- style: floatingStyles
128
+ style: _objectSpread({
129
+ zIndex: "var(--z-popover)"
130
+ }, floatingStyles)
129
131
  }, getFloatingProps()), {}, {
130
132
  children: [/*#__PURE__*/jsxs("div", {
131
133
  className: "font-medium ",
@@ -72,7 +72,7 @@ var Tooltip = function Tooltip(_ref) {
72
72
  floatingStyles = _useFloating.floatingStyles,
73
73
  context = _useFloating.context;
74
74
  var hover = useHover(context, {
75
- restMs: 250,
75
+ restMs: 500,
76
76
  delay: {
77
77
  open: 1000
78
78
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-fabric/core",
3
- "version": "1.0.0-beta.42",
3
+ "version": "1.0.0-beta.43",
4
4
  "description": "RUF: Core package",
5
5
  "author": "Adarsh Pastakia <adarshpastakia@outlook.com>",
6
6
  "license": "MIT",
@@ -36,7 +36,7 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "@floating-ui/react": "^0.26.24",
39
- "@react-fabric/utilities": "^1.0.0-beta.42",
39
+ "@react-fabric/utilities": "^1.0.0-beta.43",
40
40
  "@tailwindcss/postcss": "~4.0.14",
41
41
  "boring-avatars": "^1.10.2",
42
42
  "classnames": "^2.5.1",
@@ -54,5 +54,5 @@
54
54
  "node": ">=18.12.0",
55
55
  "npm": ">=8.19.0"
56
56
  },
57
- "gitHead": "61c9612bb2c7bc9a807f46922881432748c9e7a3"
57
+ "gitHead": "92cd2fc5c71e3f0e00a9cff83ff924c51d7adb57"
58
58
  }
@@ -187,7 +187,10 @@ export const ConfirmButton = <Tag extends React.ElementType = "button">({
187
187
  "select-none not-italic rounded-capped shadow-lg outline outline-muted bg-base",
188
188
  )}
189
189
  ref={refs.setFloating}
190
- style={floatingStyles}
190
+ style={{
191
+ zIndex: "var(--z-popover)",
192
+ ...floatingStyles,
193
+ }}
191
194
  {...getFloatingProps()}
192
195
  >
193
196
  <div className="font-medium ">
@@ -126,7 +126,7 @@ export const Tooltip = ({
126
126
  });
127
127
 
128
128
  const hover = useHover(context, {
129
- restMs: 250,
129
+ restMs: 500,
130
130
  delay: { open: 1000 },
131
131
  handleClose: copyContent ? safePolygon({ buffer: 1 }) : undefined,
132
132
  });