@nimbus-ds/components 5.5.2-rc.9 → 5.5.3-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 +2 -1
- package/dist/index.d.ts +7 -3
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Nimbus is an open-source Design System created by Tiendanube / Nuvesmhop’s team to empower and enhance more stories every day, with simplicity, accessibility, consistency and performance.
|
|
4
4
|
|
|
5
|
-
## 2024-03-18 `5.5.
|
|
5
|
+
## 2024-03-18 `5.5.3`
|
|
6
6
|
|
|
7
7
|
### 🐛 Bug fixes
|
|
8
8
|
|
|
9
9
|
- Added `RemoveScroll` component from `react-remove-scroll` library to prevent scroll resetting on the body of the `Sidebar` component. ([#233](https://github.com/TiendaNube/nimbus-design-system/pull/233) by [@juanchigallego](https://github.com/juanchigallego))
|
|
10
|
+
- Added `needRemoveScroll` optional prop to `Sidebar` component. ([#233](https://github.com/TiendaNube/nimbus-design-system/pull/233) by [@juanchigallego](https://github.com/juanchigallego))
|
|
10
11
|
- Fixed type bug on expected icon and text color values on `Toast` component. ([#233](https://github.com/TiendaNube/nimbus-design-system/pull/233) by [@juanchigallego](https://github.com/juanchigallego))
|
|
11
12
|
|
|
12
13
|
### 📚 3rd party library updates
|
package/dist/index.d.ts
CHANGED
|
@@ -2096,7 +2096,6 @@ declare const sidebar: {
|
|
|
2096
2096
|
container__footer: string;
|
|
2097
2097
|
position: Record<"left" | "right", string>;
|
|
2098
2098
|
isVisible: string;
|
|
2099
|
-
container_scrollable: string;
|
|
2100
2099
|
};
|
|
2101
2100
|
};
|
|
2102
2101
|
declare const propertiesTable: {
|
|
@@ -2178,7 +2177,7 @@ export interface ButtonProperties {
|
|
|
2178
2177
|
disabled?: boolean;
|
|
2179
2178
|
}
|
|
2180
2179
|
export type ButtonBaseProps = ButtonProperties & ButtonHTMLAttributes<HTMLButtonElement>;
|
|
2181
|
-
export declare const Button: PolymorphicForwardRefComponent<"
|
|
2180
|
+
export declare const Button: PolymorphicForwardRefComponent<"a" | "button", ButtonBaseProps> & ButtonComponents;
|
|
2182
2181
|
export type ButtonProps = ComponentPropsWithRef<typeof Button>;
|
|
2183
2182
|
export type CheckboxSkeletonProperties = Partial<Pick<SkeletonProps, "width" | "data-testid">>;
|
|
2184
2183
|
export type CheckboxSkeletonProps = CheckboxSkeletonProperties;
|
|
@@ -2446,7 +2445,7 @@ export interface LinkProperties {
|
|
|
2446
2445
|
lineHeight?: keyof typeof link.properties.lineHeight;
|
|
2447
2446
|
}
|
|
2448
2447
|
export type LinkBaseProps = LinkProperties & HTMLAttributes<HTMLElement>;
|
|
2449
|
-
export declare const Link: PolymorphicForwardRefComponent<"
|
|
2448
|
+
export declare const Link: PolymorphicForwardRefComponent<"a" | "button", LinkBaseProps> & LinkComponents;
|
|
2450
2449
|
export type LinkProps = ComponentPropsWithRef<typeof Link>;
|
|
2451
2450
|
export type ListSkeletonItemProperties = Partial<Pick<SkeletonProps, "width">> & Partial<Pick<SkeletonProps, "height">> & {
|
|
2452
2451
|
/**
|
|
@@ -3345,6 +3344,11 @@ export interface SidebarProperties extends SidebarSprinkle {
|
|
|
3345
3344
|
* @default true
|
|
3346
3345
|
*/
|
|
3347
3346
|
open?: boolean;
|
|
3347
|
+
/**
|
|
3348
|
+
* Determines if RemoveScroll wraps sidebar's children component.
|
|
3349
|
+
* @default true
|
|
3350
|
+
*/
|
|
3351
|
+
needRemoveScroll?: boolean;
|
|
3348
3352
|
}
|
|
3349
3353
|
export type SidebarProps = SidebarProperties & HTMLAttributes<HTMLDivElement>;
|
|
3350
3354
|
export declare const Sidebar: React.FC<SidebarProps> & SidebarComponents;
|