@nimbus-ds/components 5.39.0-rc.1 → 5.39.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 +12 -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 +12 -0
- package/dist/Card/index.js +1 -1
- package/dist/Checkbox/index.d.ts +6 -0
- 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 +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 +0 -14
- 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 +7 -15
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2396,6 +2396,12 @@ export interface CheckboxProperties {
|
|
|
2396
2396
|
* Text to be rendered inside the component.
|
|
2397
2397
|
*/
|
|
2398
2398
|
label?: string;
|
|
2399
|
+
/**
|
|
2400
|
+
* Highlights the checkbox to indicate its value was generated by AI.
|
|
2401
|
+
* Applies AI gradient border that persists regardless of checked state.
|
|
2402
|
+
* @default false
|
|
2403
|
+
*/
|
|
2404
|
+
aiGenerated?: boolean;
|
|
2399
2405
|
}
|
|
2400
2406
|
export type CheckboxProps = CheckboxProperties & InputHTMLAttributes<HTMLInputElement>;
|
|
2401
2407
|
export declare const Checkbox: React.FC<CheckboxProps> & CheckboxComponents;
|
|
@@ -3661,7 +3667,7 @@ export interface ScrollPaneItemProperties {
|
|
|
3661
3667
|
*/
|
|
3662
3668
|
onClick?: (event: React.MouseEvent<HTMLDivElement>) => void;
|
|
3663
3669
|
}
|
|
3664
|
-
export type ScrollPaneItemProps = ScrollPaneItemProperties & Omit<
|
|
3670
|
+
export type ScrollPaneItemProps = ScrollPaneItemProperties & Omit<React.HTMLAttributes<HTMLDivElement>, "children">;
|
|
3665
3671
|
export type ScrollPaneArrowProperties = {
|
|
3666
3672
|
children: ReactNode;
|
|
3667
3673
|
};
|
|
@@ -4070,26 +4076,12 @@ export interface TableComponents {
|
|
|
4070
4076
|
Head: typeof TableHead;
|
|
4071
4077
|
Row: typeof TableRow;
|
|
4072
4078
|
}
|
|
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
|
-
}
|
|
4083
4079
|
export interface TableProperties {
|
|
4084
4080
|
/**
|
|
4085
4081
|
* The content of the table.
|
|
4086
4082
|
* @TJS-type React.ReactNode
|
|
4087
4083
|
*/
|
|
4088
4084
|
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[];
|
|
4093
4085
|
}
|
|
4094
4086
|
export type TableProps = TableProperties & HTMLAttributes<HTMLTableElement>;
|
|
4095
4087
|
export declare const Table: React.FC<TableProps> & TableComponents;
|