@nimbus-ds/components 5.53.0 → 5.54.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/Toast/index.d.ts +8 -0
- package/dist/Toast/index.js +1 -1
- package/dist/components-props.json +1 -1
- package/dist/index.d.ts +8 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
Nimbus is an open-source Design System created by Tiendanube / Nuvemshop's team to empower and enhance more stories
|
|
4
4
|
every day, with simplicity, accessibility, consistency and performance.
|
|
5
5
|
|
|
6
|
+
## 2026-02-24 `5.54.0`
|
|
7
|
+
|
|
8
|
+
#### 🎉 New features
|
|
9
|
+
|
|
10
|
+
- `Toast`: Added `behavior` prop to `ToastProvider` to control how multiple toasts are handled. Use `"single"` to replace the current toast instead of stacking. ([#434](https://github.com/TiendaNube/nimbus-design-system/pull/434) by [@joacotornello](https://github.com/joacotornello))
|
|
11
|
+
|
|
6
12
|
## 2026-02-23 `5.53.0`
|
|
7
13
|
|
|
8
14
|
#### 🎉 New features
|
package/dist/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
Nimbus is an open-source Design System created by Tiendanube / Nuvemshop's team to empower and enhance more stories
|
|
4
4
|
every day, with simplicity, accessibility, consistency and performance.
|
|
5
5
|
|
|
6
|
+
## 2026-02-24 `5.54.0`
|
|
7
|
+
|
|
8
|
+
#### 🎉 New features
|
|
9
|
+
|
|
10
|
+
- `Toast`: Added `behavior` prop to `ToastProvider` to control how multiple toasts are handled. Use `"single"` to replace the current toast instead of stacking. ([#434](https://github.com/TiendaNube/nimbus-design-system/pull/434) by [@joacotornello](https://github.com/joacotornello))
|
|
11
|
+
|
|
6
12
|
## 2026-02-23 `5.53.0`
|
|
7
13
|
|
|
8
14
|
#### 🎉 New features
|
package/dist/Toast/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import React from 'react';
|
|
|
4
4
|
import { HTMLAttributes, ReactNode } from 'react';
|
|
5
5
|
|
|
6
6
|
export type ToastOffset = "default" | "high";
|
|
7
|
+
export type ToastBehavior = "stacked" | "single";
|
|
7
8
|
export interface ToastProviderProperties {
|
|
8
9
|
/**
|
|
9
10
|
* @TJS-type React.ReactNode
|
|
@@ -15,6 +16,13 @@ export interface ToastProviderProperties {
|
|
|
15
16
|
* @default "default"
|
|
16
17
|
*/
|
|
17
18
|
offset?: ToastOffset;
|
|
19
|
+
/**
|
|
20
|
+
* Controls how multiple toasts are handled.
|
|
21
|
+
* "stacked" - new toasts are piled up alongside already rendered ones.
|
|
22
|
+
* "single" - only one toast is shown at a time; each new toast immediately replaces the previous one.
|
|
23
|
+
* @default "stacked"
|
|
24
|
+
*/
|
|
25
|
+
behavior?: ToastBehavior;
|
|
18
26
|
}
|
|
19
27
|
export type ToastProviderProps = ToastProviderProperties;
|
|
20
28
|
export declare const ToastProvider: React.FC<ToastProviderProps>;
|