@nimbus-ds/components 5.43.0 → 5.44.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/CHANGELOG.md +6 -0
- package/dist/CHANGELOG.md +6 -0
- package/dist/Table/index.d.ts +11 -2
- package/dist/Table/index.js +1 -1
- package/dist/components-props.json +1 -1
- package/dist/index.d.ts +11 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -4221,7 +4221,7 @@ export interface TableColumnLayout {
|
|
|
4221
4221
|
*/
|
|
4222
4222
|
id: string;
|
|
4223
4223
|
/**
|
|
4224
|
-
* Fixed width applied to the column. Accepts any valid CSS width value.
|
|
4224
|
+
* Fixed width applied to the column. Accepts any valid CSS width value in pixels.
|
|
4225
4225
|
*/
|
|
4226
4226
|
width?: string;
|
|
4227
4227
|
/**
|
|
@@ -4231,9 +4231,18 @@ export interface TableColumnLayout {
|
|
|
4231
4231
|
grow?: number;
|
|
4232
4232
|
/**
|
|
4233
4233
|
* Minimum width constraint for the column. The column will not shrink below this value.
|
|
4234
|
-
* Only applies when using `grow`. Accepts any valid CSS width value.
|
|
4234
|
+
* Only applies when using `grow`. Accepts any valid CSS width value in pixels.
|
|
4235
4235
|
*/
|
|
4236
4236
|
minWidth?: string;
|
|
4237
|
+
/**
|
|
4238
|
+
* Determines which side the column will be fixed (sticky) to during horizontal scrolling.
|
|
4239
|
+
* Fixed columns use CSS `position: sticky` and stay visible on the specified side.
|
|
4240
|
+
* Only contiguous columns can be fixed (i.e. no 'normal' columns between fixed columns on the same side).
|
|
4241
|
+
* Requires a defined `width` to calculate proper offsets.
|
|
4242
|
+
* - 'left': Column sticks to the left side of the table
|
|
4243
|
+
* - 'right': Column sticks to the right side of the table
|
|
4244
|
+
*/
|
|
4245
|
+
fixed?: "left" | "right";
|
|
4237
4246
|
}
|
|
4238
4247
|
export interface TableProperties {
|
|
4239
4248
|
/**
|