@parasutcom/fds 0.1.13 → 0.1.15
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.d.ts +13 -3
- package/dist/index.js +331 -327
- package/dist/styles.css +1 -1
- package/dist/tanstack-table.d.ts +9 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -138,7 +138,7 @@ export declare const buttonGroupVariants: (props?: ({
|
|
|
138
138
|
} & ClassProp) | undefined) => string;
|
|
139
139
|
|
|
140
140
|
export declare const buttonVariants: (props?: ({
|
|
141
|
-
variant?: "default" | "destructive" | "link" | "sort" | "outline" | "secondary" | "ghost" | "destructiveOutline" | null | undefined;
|
|
141
|
+
variant?: "default" | "destructive" | "link" | "sort" | "outline" | "secondary" | "ghost" | "soft" | "destructiveOutline" | null | undefined;
|
|
142
142
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
143
143
|
isIcon?: boolean | null | undefined;
|
|
144
144
|
} & ClassProp) | undefined) => string;
|
|
@@ -732,7 +732,12 @@ export declare function Switch({ className, size, ...props }: Switch_2.Root.Prop
|
|
|
732
732
|
size?: "sm" | "default";
|
|
733
733
|
}): JSX.Element;
|
|
734
734
|
|
|
735
|
-
export declare function Table({ className, ...props }: React_2.ComponentProps<"table">
|
|
735
|
+
export declare function Table({ className, noWrapper, sticky, ...props }: React_2.ComponentProps<"table"> & {
|
|
736
|
+
/** Render without the overflow wrapper div (required for sticky headers) */
|
|
737
|
+
noWrapper?: boolean;
|
|
738
|
+
/** Enable border-separate for sticky header compatibility */
|
|
739
|
+
sticky?: boolean;
|
|
740
|
+
}): JSX.Element;
|
|
736
741
|
|
|
737
742
|
export declare function TableBody({ className, ...props }: React_2.ComponentProps<"tbody">): JSX.Element;
|
|
738
743
|
|
|
@@ -744,7 +749,12 @@ export declare function TableFooter({ className, ...props }: React_2.ComponentPr
|
|
|
744
749
|
|
|
745
750
|
export declare function TableHead({ className, ...props }: React_2.ComponentProps<"th">): JSX.Element;
|
|
746
751
|
|
|
747
|
-
export declare function TableHeader({ className, ...props }: React_2.ComponentProps<"thead">
|
|
752
|
+
export declare function TableHeader({ className, sticky, stickyTop, ...props }: React_2.ComponentProps<"thead"> & {
|
|
753
|
+
/** Make header cells sticky */
|
|
754
|
+
sticky?: boolean;
|
|
755
|
+
/** Top offset for sticky positioning (e.g., '0px', '48px', '3rem') */
|
|
756
|
+
stickyTop?: string;
|
|
757
|
+
}): JSX.Element;
|
|
748
758
|
|
|
749
759
|
export declare function TableRow({ className, ...props }: React_2.ComponentProps<"tr">): JSX.Element;
|
|
750
760
|
|