@firecms/ui 3.0.0-canary.86 → 3.0.0-canary.87

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.
@@ -9,7 +9,8 @@ export type TooltipProps = {
9
9
  delayDuration?: number;
10
10
  className?: string;
11
11
  tooltipClassName?: string;
12
+ tooltipStyle?: React.CSSProperties;
12
13
  children: React.ReactNode;
13
14
  style?: React.CSSProperties;
14
15
  };
15
- export declare const Tooltip: ({ open, side, delayDuration, sideOffset, align, onOpenChange, title, className, style, tooltipClassName, children }: TooltipProps) => import("react/jsx-runtime").JSX.Element;
16
+ export declare const Tooltip: ({ open, side, delayDuration, sideOffset, align, onOpenChange, title, className, style, tooltipClassName, tooltipStyle, children }: TooltipProps) => import("react/jsx-runtime").JSX.Element;
package/dist/index.es.js CHANGED
@@ -17237,7 +17237,7 @@ const Sheet = ({
17237
17237
  {
17238
17238
  className: cls(
17239
17239
  "fixed inset-0 transition-opacity z-20 ease-in-out duration-200 backdrop-blur-sm",
17240
- "bg-black bg-opacity-50",
17240
+ "bg-white bg-opacity-80",
17241
17241
  "dark:bg-gray-900 dark:bg-opacity-60",
17242
17242
  displayed && open ? "opacity-100" : "opacity-0"
17243
17243
  ),
@@ -17639,6 +17639,7 @@ const Tooltip = ({
17639
17639
  className,
17640
17640
  style,
17641
17641
  tooltipClassName,
17642
+ tooltipStyle,
17642
17643
  children
17643
17644
  }) => {
17644
17645
  useInjectStyles("Tooltip", styles);
@@ -17655,6 +17656,7 @@ const Tooltip = ({
17655
17656
  "z-50 rounded px-3 py-2 text-xs leading-none bg-slate-700 dark:bg-slate-800 bg-opacity-90 font-medium text-slate-50 shadow-2xl select-none duration-400 ease-in transform opacity-100",
17656
17657
  tooltipClassName
17657
17658
  ),
17659
+ style: tooltipStyle,
17658
17660
  sideOffset: sideOffset === void 0 ? 4 : sideOffset,
17659
17661
  align,
17660
17662
  side,