@nimbus-ds/components 5.37.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/CHANGELOG.md +6 -0
- 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/CHANGELOG.md +6 -0
- 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.d.ts +7 -0
- 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 +20 -0
- package/dist/index.js +1 -1
- package/package.json +3 -2
package/dist/index.d.ts
CHANGED
|
@@ -3706,6 +3706,12 @@ export interface ScrollPaneProperties {
|
|
|
3706
3706
|
* @default true
|
|
3707
3707
|
*/
|
|
3708
3708
|
scrollToItemOnClick?: boolean;
|
|
3709
|
+
/**
|
|
3710
|
+
* Enable grab-to-scroll functionality (click and drag to scroll)
|
|
3711
|
+
* When enabled, prevents item dragging inside the ScrollPane
|
|
3712
|
+
* @default false
|
|
3713
|
+
*/
|
|
3714
|
+
enableGrabScroll?: boolean;
|
|
3709
3715
|
/**
|
|
3710
3716
|
* Custom arrow component to render at the start of the scroll area
|
|
3711
3717
|
*/
|
|
@@ -4064,12 +4070,26 @@ export interface TableComponents {
|
|
|
4064
4070
|
Head: typeof TableHead;
|
|
4065
4071
|
Row: typeof TableRow;
|
|
4066
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
|
+
}
|
|
4067
4083
|
export interface TableProperties {
|
|
4068
4084
|
/**
|
|
4069
4085
|
* The content of the table.
|
|
4070
4086
|
* @TJS-type React.ReactNode
|
|
4071
4087
|
*/
|
|
4072
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[];
|
|
4073
4093
|
}
|
|
4074
4094
|
export type TableProps = TableProperties & HTMLAttributes<HTMLTableElement>;
|
|
4075
4095
|
export declare const Table: React.FC<TableProps> & TableComponents;
|