@nimbus-ds/components 5.5.5-rc.1 → 5.6.0-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 +5 -2
- package/dist/index.d.ts +8 -0
- package/dist/index.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,10 +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-
|
|
5
|
+
## 2024-12-18 `5.6.0`
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
## 2024-12-18 `5.5.5`
|
|
8
|
+
|
|
9
|
+
#### 🐛 Bug fixes
|
|
8
10
|
|
|
11
|
+
- We detected that the content of the Tabs, when set to full, was not centered but aligned to the left. ([#261](https://github.com/TiendaNube/nimbus-design-system/pull/261) by [@harrytiendanube](https://github.com/harrytiendanube) )
|
|
9
12
|
- 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
13
|
- 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
14
|
|
package/dist/index.d.ts
CHANGED
|
@@ -3245,6 +3245,10 @@ export interface ModalProperties extends ModalSprinkle {
|
|
|
3245
3245
|
}
|
|
3246
3246
|
export type ModalProps = ModalProperties & HTMLAttributes<HTMLDivElement>;
|
|
3247
3247
|
export declare const Modal: React.FC<ModalProps> & ModalComponents;
|
|
3248
|
+
export interface PaginationItemData {
|
|
3249
|
+
pageNumber: number | string;
|
|
3250
|
+
isCurrent: boolean;
|
|
3251
|
+
}
|
|
3248
3252
|
export interface PaginationProperties {
|
|
3249
3253
|
/**
|
|
3250
3254
|
* The currently selected page.
|
|
@@ -3264,6 +3268,10 @@ export interface PaginationProperties {
|
|
|
3264
3268
|
* @default true
|
|
3265
3269
|
*/
|
|
3266
3270
|
showNumbers?: boolean;
|
|
3271
|
+
/**
|
|
3272
|
+
* Custom render function for pagination items.
|
|
3273
|
+
*/
|
|
3274
|
+
renderItem?: (item: PaginationItemData) => React.ReactNode;
|
|
3267
3275
|
}
|
|
3268
3276
|
export type PaginationProps = PaginationProperties & HTMLAttributes<HTMLElement>;
|
|
3269
3277
|
export declare const Pagination: React.FC<PaginationProps>;
|