@nimbus-ds/components 5.45.0 → 5.46.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 +10 -0
- package/dist/Accordion/index.js +1 -1
- package/dist/Alert/index.js +1 -1
- package/dist/Box/index.d.ts +2 -2
- package/dist/Button/index.d.ts +2 -2
- package/dist/CHANGELOG.md +10 -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/Link/index.d.ts +3 -3
- package/dist/Modal/index.js +1 -1
- package/dist/MultiSelect/index.js +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/ScrollPane/index.d.ts +6 -8
- package/dist/SegmentedControl/index.d.ts +2 -2
- package/dist/Select/index.js +1 -1
- package/dist/Sidebar/index.js +1 -1
- package/dist/SplitButton/index.d.ts +2 -2
- package/dist/SplitButton/index.js +1 -1
- package/dist/Stepper/index.d.ts +2 -2
- package/dist/Stepper/index.js +1 -1
- package/dist/Thumbnail/index.js +1 -1
- package/dist/Toast/index.js +1 -1
- package/dist/components-props.json +1 -1
- package/dist/index.d.ts +5 -7
- package/dist/index.js +1 -1
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -71,10 +71,10 @@ export interface PolymorphicForwardRefComponent<IntrinsicElementString, OwnProps
|
|
|
71
71
|
* so that events are typed when using JSX.IntrinsicElements.
|
|
72
72
|
*/
|
|
73
73
|
<As = IntrinsicElementString>(props: As extends "" ? {
|
|
74
|
-
as: keyof JSX.IntrinsicElements;
|
|
74
|
+
as: keyof React.JSX.IntrinsicElements;
|
|
75
75
|
} : As extends React.ComponentType<infer P> ? Merge<P, OwnProps & {
|
|
76
76
|
as: As;
|
|
77
|
-
}> : As extends keyof JSX.IntrinsicElements ? Merge<JSX.IntrinsicElements[As], OwnProps & {
|
|
77
|
+
}> : As extends keyof React.JSX.IntrinsicElements ? Merge<React.JSX.IntrinsicElements[As], OwnProps & {
|
|
78
78
|
as: As;
|
|
79
79
|
}> : never): React.ReactElement | null;
|
|
80
80
|
}
|
|
@@ -3798,16 +3798,14 @@ export interface ScrollPaneItemProperties {
|
|
|
3798
3798
|
* Custom class name for styling
|
|
3799
3799
|
*/
|
|
3800
3800
|
className?: string;
|
|
3801
|
-
/**
|
|
3802
|
-
* Custom inline styles
|
|
3803
|
-
*/
|
|
3804
|
-
style?: React.CSSProperties;
|
|
3805
3801
|
/**
|
|
3806
3802
|
* Callback fired when the item is clicked
|
|
3807
3803
|
*/
|
|
3808
3804
|
onClick?: (event: React.MouseEvent<HTMLDivElement>) => void;
|
|
3809
3805
|
}
|
|
3810
|
-
export type ScrollPaneItemProps = ScrollPaneItemProperties &
|
|
3806
|
+
export type ScrollPaneItemProps = ScrollPaneItemProperties & {
|
|
3807
|
+
style?: React.CSSProperties;
|
|
3808
|
+
} & Omit<React.HTMLAttributes<HTMLDivElement>, "children">;
|
|
3811
3809
|
export type ScrollPaneArrowProperties = {
|
|
3812
3810
|
children: ReactNode;
|
|
3813
3811
|
};
|