@exxatdesignux/ui 0.5.6 → 0.5.7

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.
@@ -4,7 +4,7 @@ import * as React from 'react';
4
4
  import { VariantProps } from 'class-variance-authority';
5
5
 
6
6
  declare const badgeVariants: (props?: ({
7
- variant?: "default" | "outline" | "secondary" | "ghost" | "destructive" | "link" | null | undefined;
7
+ variant?: "link" | "default" | "outline" | "secondary" | "ghost" | "destructive" | null | undefined;
8
8
  } & class_variance_authority_types.ClassProp) | undefined) => string;
9
9
  declare function Badge({ className, variant, asChild, ...props }: React.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
10
10
  asChild?: boolean;
@@ -4,9 +4,9 @@ import * as React from 'react';
4
4
  import { VariantProps } from 'class-variance-authority';
5
5
 
6
6
  declare const systemBannerVariants: (props?: ({
7
- variant?: "success" | "warning" | "error" | "info" | "promo" | null | undefined;
7
+ variant?: "error" | "success" | "warning" | "info" | "promo" | null | undefined;
8
8
  emphasis?: "prominent" | "subtle" | null | undefined;
9
- actionPosition?: "inline" | "bottom" | null | undefined;
9
+ actionPosition?: "bottom" | "inline" | null | undefined;
10
10
  } & class_variance_authority_types.ClassProp) | undefined) => string;
11
11
  interface SystemBannerProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof systemBannerVariants> {
12
12
  /** Banner title (optional — adds a bold heading) */
@@ -32,7 +32,7 @@ interface SystemBannerProps extends React.HTMLAttributes<HTMLDivElement>, Varian
32
32
  }
33
33
  declare function SystemBanner({ children, title, variant, emphasis, dismissible, onDismiss, action, actionPosition, icon, decorativeOverlay, className, style, ...props }: SystemBannerProps): react_jsx_runtime.JSX.Element | null;
34
34
  declare const localBannerVariants: (props?: ({
35
- variant?: "success" | "warning" | "error" | "info" | "promo" | null | undefined;
35
+ variant?: "error" | "success" | "warning" | "info" | "promo" | null | undefined;
36
36
  } & class_variance_authority_types.ClassProp) | undefined) => string;
37
37
  interface LocalBannerProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof localBannerVariants> {
38
38
  /** Banner title (optional) */
@@ -3,11 +3,11 @@ import * as React from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
4
 
5
5
  declare const buttonVariants: (props?: ({
6
- variant?: "default" | "outline" | "secondary" | "ghost" | "destructive" | "link" | null | undefined;
6
+ variant?: "link" | "default" | "outline" | "secondary" | "ghost" | "destructive" | null | undefined;
7
7
  size?: "default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
8
8
  } & class_variance_authority_types.ClassProp) | undefined) => string;
9
9
  declare const Button: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLButtonElement> & React.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<(props?: ({
10
- variant?: "default" | "outline" | "secondary" | "ghost" | "destructive" | "link" | null | undefined;
10
+ variant?: "link" | "default" | "outline" | "secondary" | "ghost" | "destructive" | null | undefined;
11
11
  size?: "default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
12
12
  } & class_variance_authority_types.ClassProp) | undefined) => string> & {
13
13
  asChild?: boolean;
@@ -6,7 +6,7 @@ import { Tabs as Tabs$1 } from 'radix-ui';
6
6
 
7
7
  declare function Tabs({ className, orientation, ...props }: React.ComponentProps<typeof Tabs$1.Root>): react_jsx_runtime.JSX.Element;
8
8
  declare const tabsListVariants: (props?: ({
9
- variant?: "default" | "line" | null | undefined;
9
+ variant?: "line" | "default" | null | undefined;
10
10
  } & class_variance_authority_types.ClassProp) | undefined) => string;
11
11
  declare function TabsList({ className, variant, ...props }: React.ComponentProps<typeof Tabs$1.List> & VariantProps<typeof tabsListVariants>): react_jsx_runtime.JSX.Element;
12
12
  declare function TabsTrigger({ className, ...props }: React.ComponentProps<typeof Tabs$1.Trigger>): react_jsx_runtime.JSX.Element;
package/dist/index.js CHANGED
@@ -2819,7 +2819,7 @@ function DataTableInner({
2819
2819
  const table = el.querySelector("table");
2820
2820
  if (table) ro.observe(table);
2821
2821
  return () => ro.disconnect();
2822
- }, [totalWidth, displayCols.length, checkOverflow]);
2822
+ }, [totalWidth, displayCols.length, checkOverflow, scrollRef]);
2823
2823
  const columnMenuPendingActionRef = React10.useRef(null);
2824
2824
  const pinnedScrollHintDoneRef = React10.useRef(false);
2825
2825
  React10.useEffect(() => {