@nimbus-ds/components 5.38.0 → 5.39.0-rc.1
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/Accordion/index.js +1 -1
- package/dist/Alert/index.js +1 -1
- package/dist/Badge/index.js +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/Card/index.js +1 -1
- package/dist/Checkbox/index.js +1 -1
- package/dist/Chip/index.js +1 -1
- package/dist/FileUploader/index.js +1 -1
- package/dist/Icon/index.js +1 -1
- package/dist/IconButton/index.js +1 -1
- package/dist/Input/index.js +1 -1
- package/dist/Label/index.js +1 -1
- package/dist/Link/index.js +1 -1
- package/dist/List/index.js +1 -1
- package/dist/Modal/index.js +1 -1
- package/dist/MultiSelect/index.js +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/ProgressBar/index.js +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/ScrollPane/index.js +1 -1
- package/dist/SegmentedControl/index.js +1 -1
- package/dist/Select/index.js +1 -1
- package/dist/Sidebar/index.js +1 -1
- package/dist/SplitButton/index.js +1 -1
- package/dist/Stepper/index.js +1 -1
- package/dist/Table/index.d.ts +14 -0
- package/dist/Table/index.js +1 -1
- package/dist/Tag/index.js +1 -1
- package/dist/Text/index.js +1 -1
- package/dist/Textarea/index.js +1 -1
- package/dist/Thumbnail/index.js +1 -1
- package/dist/Title/index.js +1 -1
- package/dist/Toast/index.js +1 -1
- package/dist/Toggle/index.js +1 -1
- package/dist/Tooltip/index.js +1 -1
- package/dist/components-props.json +1 -1
- package/dist/index.d.ts +14 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -4070,12 +4070,26 @@ export interface TableComponents {
|
|
|
4070
4070
|
Head: typeof TableHead;
|
|
4071
4071
|
Row: typeof TableRow;
|
|
4072
4072
|
}
|
|
4073
|
+
export interface TableColumnLayout {
|
|
4074
|
+
/**
|
|
4075
|
+
* Fixed width applied to the column. Accepts any valid CSS width value.
|
|
4076
|
+
*/
|
|
4077
|
+
width?: string;
|
|
4078
|
+
/**
|
|
4079
|
+
* Growth factor that distributes remaining space among columns without a fixed width.
|
|
4080
|
+
*/
|
|
4081
|
+
grow?: number;
|
|
4082
|
+
}
|
|
4073
4083
|
export interface TableProperties {
|
|
4074
4084
|
/**
|
|
4075
4085
|
* The content of the table.
|
|
4076
4086
|
* @TJS-type React.ReactNode
|
|
4077
4087
|
*/
|
|
4078
4088
|
children: ReactNode;
|
|
4089
|
+
/**
|
|
4090
|
+
* Column sizing definitions applied from left to right. Use `width` for fixed columns and `grow` to distribute the remaining space proportionally.
|
|
4091
|
+
*/
|
|
4092
|
+
columnLayout?: TableColumnLayout[];
|
|
4079
4093
|
}
|
|
4080
4094
|
export type TableProps = TableProperties & HTMLAttributes<HTMLTableElement>;
|
|
4081
4095
|
export declare const Table: React.FC<TableProps> & TableComponents;
|