@firecms/ui 3.0.0-canary.85 → 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
@@ -17101,11 +17101,11 @@ function Select({
17101
17101
  SelectPrimitive.Content,
17102
17102
  {
17103
17103
  position,
17104
- className: "z-50 relative overflow-y-auto max-h-[10rem] border border-slate-200 dark:border-slate-800 bg-white dark:bg-slate-800 p-2 rounded-lg shadow-lg",
17104
+ className: "z-50 relative overflow-hidden border border-slate-200 dark:border-slate-800 bg-white dark:bg-slate-800 p-2 rounded-lg shadow-lg",
17105
17105
  children: /* @__PURE__ */ jsx(
17106
17106
  SelectPrimitive.Viewport,
17107
17107
  {
17108
- className: "p-1 overflow-y-auto max-h-[10rem]",
17108
+ className: "p-1",
17109
17109
  style: {
17110
17110
  maxHeight: "var(--radix-select-content-available-height)"
17111
17111
  },
@@ -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,
@@ -18060,7 +18062,7 @@ function Skeleton({
18060
18062
  },
18061
18063
  className: cls(
18062
18064
  "block",
18063
- "bg-slate-200 dark:bg-slate-800 rounded",
18065
+ "bg-slate-200 dark:bg-slate-800 rounded-md",
18064
18066
  "animate-pulse",
18065
18067
  "max-w-full max-h-full",
18066
18068
  className