eai-frontend-components 2.0.10 → 2.0.12

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.
package/dist/index.js CHANGED
@@ -1670,6 +1670,16 @@ SheetTitle.displayName = DialogPrimitive__namespace.Title.displayName;
1670
1670
  const SheetDescription = React__namespace.forwardRef(({ className, ...props }, ref) => jsxRuntime.jsx(DialogPrimitive__namespace.Description, { ref: ref, className: cn('text-sm text-muted-foreground', className), ...props }));
1671
1671
  SheetDescription.displayName = DialogPrimitive__namespace.Description.displayName;
1672
1672
 
1673
+ function Skeleton({ className, ...props }) {
1674
+ return (jsxRuntime.jsx("div", { className: cn("animate-pulse rounded-md bg-muted", className), ...props }));
1675
+ }
1676
+
1677
+ const TooltipProvider = TooltipPrimitive__namespace.Provider;
1678
+ const Tooltip = TooltipPrimitive__namespace.Root;
1679
+ const TooltipTrigger = TooltipPrimitive__namespace.Trigger;
1680
+ const TooltipContent = React__namespace.forwardRef(({ className, sideOffset = 4, ...props }, ref) => (jsxRuntime.jsxs(TooltipPrimitive__namespace.Content, { ref: ref, sideOffset: sideOffset, className: cn('z-50 overflow-hidden rounded-md bg-background-primary text-white px-3 py-1.5 text-sm shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2', className), ...props, children: [props.children, jsxRuntime.jsx(TooltipPrimitive__namespace.Arrow, { className: 'z-50 fill-primary animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2' })] })));
1681
+ TooltipContent.displayName = TooltipPrimitive__namespace.Content.displayName;
1682
+
1673
1683
  const MOBILE_BREAKPOINT = 1350;
1674
1684
  function useIsMobile() {
1675
1685
  const [isMobile, setIsMobile] = React__namespace.useState(undefined);
@@ -1685,16 +1695,6 @@ function useIsMobile() {
1685
1695
  return !!isMobile;
1686
1696
  }
1687
1697
 
1688
- function Skeleton({ className, ...props }) {
1689
- return (jsxRuntime.jsx("div", { className: cn("animate-pulse rounded-md bg-muted", className), ...props }));
1690
- }
1691
-
1692
- const TooltipProvider = TooltipPrimitive__namespace.Provider;
1693
- const Tooltip = TooltipPrimitive__namespace.Root;
1694
- const TooltipTrigger = TooltipPrimitive__namespace.Trigger;
1695
- const TooltipContent = React__namespace.forwardRef(({ className, sideOffset = 4, ...props }, ref) => (jsxRuntime.jsxs(TooltipPrimitive__namespace.Content, { ref: ref, sideOffset: sideOffset, className: cn('z-50 overflow-hidden rounded-md bg-background-primary text-white px-3 py-1.5 text-sm shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2', className), ...props, children: [props.children, jsxRuntime.jsx(TooltipPrimitive__namespace.Arrow, { className: 'z-50 fill-primary animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2' })] })));
1696
- TooltipContent.displayName = TooltipPrimitive__namespace.Content.displayName;
1697
-
1698
1698
  const SIDEBAR_COOKIE_NAME = 'sidebar:state';
1699
1699
  const SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
1700
1700
  const SIDEBAR_WIDTH = '16rem';