@nimbus-ds/components 5.5.2 โ†’ 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 CHANGED
@@ -2,6 +2,18 @@
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.3`
6
+
7
+ ### ๐Ÿ› Bug fixes
8
+
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))
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))
12
+
13
+ ### ๐Ÿ“š 3rd party library updates
14
+
15
+ - Added `react-remove-scroll@2.5.7` to `Sidebar` component. ([#233](https://github.com/TiendaNube/nimbus-design-system/pull/233) by [@juanchigallego](https://github.com/juanchigallego))
16
+
5
17
  ## 2024-03-01 `5.4.2`
6
18
 
7
19
  ### ๐ŸŽ‰ New features
package/dist/index.d.ts CHANGED
@@ -3344,6 +3344,11 @@ export interface SidebarProperties extends SidebarSprinkle {
3344
3344
  * @default true
3345
3345
  */
3346
3346
  open?: boolean;
3347
+ /**
3348
+ * Determines if RemoveScroll wraps sidebar's children component.
3349
+ * @default true
3350
+ */
3351
+ needRemoveScroll?: boolean;
3347
3352
  }
3348
3353
  export type SidebarProps = SidebarProperties & HTMLAttributes<HTMLDivElement>;
3349
3354
  export declare const Sidebar: React.FC<SidebarProps> & SidebarComponents;