@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.
Files changed (42) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/Accordion/index.js +1 -1
  3. package/dist/Alert/index.js +1 -1
  4. package/dist/Badge/index.js +1 -1
  5. package/dist/Button/index.js +1 -1
  6. package/dist/CHANGELOG.md +6 -0
  7. package/dist/Card/index.js +1 -1
  8. package/dist/Checkbox/index.js +1 -1
  9. package/dist/Chip/index.js +1 -1
  10. package/dist/FileUploader/index.js +1 -1
  11. package/dist/Icon/index.js +1 -1
  12. package/dist/IconButton/index.js +1 -1
  13. package/dist/Input/index.js +1 -1
  14. package/dist/Label/index.js +1 -1
  15. package/dist/Link/index.js +1 -1
  16. package/dist/List/index.js +1 -1
  17. package/dist/Modal/index.js +1 -1
  18. package/dist/MultiSelect/index.js +1 -1
  19. package/dist/Pagination/index.js +1 -1
  20. package/dist/ProgressBar/index.js +1 -1
  21. package/dist/Radio/index.js +1 -1
  22. package/dist/ScrollPane/index.d.ts +7 -0
  23. package/dist/ScrollPane/index.js +1 -1
  24. package/dist/SegmentedControl/index.js +1 -1
  25. package/dist/Select/index.js +1 -1
  26. package/dist/Sidebar/index.js +1 -1
  27. package/dist/SplitButton/index.js +1 -1
  28. package/dist/Stepper/index.js +1 -1
  29. package/dist/Table/index.d.ts +14 -0
  30. package/dist/Table/index.js +1 -1
  31. package/dist/Tag/index.js +1 -1
  32. package/dist/Text/index.js +1 -1
  33. package/dist/Textarea/index.js +1 -1
  34. package/dist/Thumbnail/index.js +1 -1
  35. package/dist/Title/index.js +1 -1
  36. package/dist/Toast/index.js +1 -1
  37. package/dist/Toggle/index.js +1 -1
  38. package/dist/Tooltip/index.js +1 -1
  39. package/dist/components-props.json +1 -1
  40. package/dist/index.d.ts +20 -0
  41. package/dist/index.js +1 -1
  42. 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;