@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/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;