myoperator-mcp 0.2.77 → 0.2.78
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 +8 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3846,10 +3846,12 @@ export interface TableProps
|
|
|
3846
3846
|
VariantProps<typeof tableVariants> {
|
|
3847
3847
|
/** Remove outer border from the table */
|
|
3848
3848
|
withoutBorder?: boolean;
|
|
3849
|
+
/** Allow cell content to wrap to multiple lines. By default, content is kept on a single line with horizontal scroll. */
|
|
3850
|
+
wrapContent?: boolean;
|
|
3849
3851
|
}
|
|
3850
3852
|
|
|
3851
3853
|
const Table = React.forwardRef<HTMLTableElement, TableProps>(
|
|
3852
|
-
({ className, size, withoutBorder, ...props }, ref) => (
|
|
3854
|
+
({ className, size, withoutBorder, wrapContent, ...props }, ref) => (
|
|
3853
3855
|
<div
|
|
3854
3856
|
className={cn(
|
|
3855
3857
|
"relative w-full overflow-auto",
|
|
@@ -3858,7 +3860,11 @@ const Table = React.forwardRef<HTMLTableElement, TableProps>(
|
|
|
3858
3860
|
>
|
|
3859
3861
|
<table
|
|
3860
3862
|
ref={ref}
|
|
3861
|
-
className={cn(
|
|
3863
|
+
className={cn(
|
|
3864
|
+
tableVariants({ size }),
|
|
3865
|
+
!wrapContent && "[&_th]:whitespace-nowrap [&_td]:whitespace-nowrap",
|
|
3866
|
+
className
|
|
3867
|
+
)}
|
|
3862
3868
|
{...props}
|
|
3863
3869
|
/>
|
|
3864
3870
|
</div>
|
package/package.json
CHANGED