@marigold/components 6.0.0 → 6.1.0
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 +4 -2
- package/dist/index.js +275 -239
- package/dist/index.mjs +488 -444
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ import { AriaSelectProps } from '@react-types/select';
|
|
|
26
26
|
import { AriaSliderProps } from '@react-types/slider';
|
|
27
27
|
import { AriaSwitchProps } from '@react-types/switch';
|
|
28
28
|
import { AriaTableProps } from '@react-aria/table';
|
|
29
|
-
import { TableStateProps, RowProps as RowProps$1, TableBody, Cell,
|
|
29
|
+
import { TableStateProps, RowProps as RowProps$1, TableBody, Cell, TableHeader, ColumnProps as ColumnProps$1 } from '@react-stately/table';
|
|
30
30
|
import { AriaTextFieldProps } from '@react-types/textfield';
|
|
31
31
|
import { PositionProps } from '@react-types/overlays';
|
|
32
32
|
import { TooltipTriggerProps as TooltipTriggerProps$1 } from '@react-types/tooltip';
|
|
@@ -643,6 +643,8 @@ interface RowProps extends RowProps$1 {
|
|
|
643
643
|
variant?: string;
|
|
644
644
|
size?: string;
|
|
645
645
|
}
|
|
646
|
+
interface ColumnProps extends Omit<ColumnProps$1<any>, 'width'>, WidthProp {
|
|
647
|
+
}
|
|
646
648
|
declare const Table: Table;
|
|
647
649
|
/**
|
|
648
650
|
* Necessary since TypeScript can not infer the
|
|
@@ -652,8 +654,8 @@ interface Table {
|
|
|
652
654
|
(props: TableProps): JSX.Element;
|
|
653
655
|
Body: typeof TableBody;
|
|
654
656
|
Cell: typeof Cell;
|
|
655
|
-
Column: typeof Column;
|
|
656
657
|
Header: typeof TableHeader;
|
|
658
|
+
Column: (props: ColumnProps) => JSX.Element;
|
|
657
659
|
Row: (props: RowProps) => JSX.Element;
|
|
658
660
|
}
|
|
659
661
|
|