@nimbus-ds/components 5.5.4 → 5.5.5-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 +7 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
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-08-05 `5.5.5`
|
|
6
|
+
|
|
7
|
+
### 🐛 Bug fixes
|
|
8
|
+
|
|
9
|
+
- Made `onDismiss` property optional for `Modal` component. If `onDismiss` is not provided, the modal can no longer be closed by clicking outside or pressing the close button
|
|
10
|
+
- Removed the close button (X) from `Modal` component when `onDismiss` is not provided. ([#246](https://github.com/TiendaNube/nimbus-design-system/pull/246) by [@dommirr](https://github.com/dommirr))
|
|
11
|
+
|
|
5
12
|
## 2024-04-22 `5.5.4`
|
|
6
13
|
|
|
7
14
|
### 💡 Others
|
package/dist/index.d.ts
CHANGED
|
@@ -3232,7 +3232,7 @@ export interface ModalProperties extends ModalSprinkle {
|
|
|
3232
3232
|
* Callback fired when the component requests to be closed.
|
|
3233
3233
|
* @TJS-type (open: boolean) => void;
|
|
3234
3234
|
*/
|
|
3235
|
-
onDismiss
|
|
3235
|
+
onDismiss?: (open: boolean) => void;
|
|
3236
3236
|
/**
|
|
3237
3237
|
* Id to be embedded in the portal element
|
|
3238
3238
|
*/
|