@nimbus-ds/components 5.3.2 โ 5.5.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 +12 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
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-02-07 `5.4.1`
|
|
6
|
+
|
|
7
|
+
### ๐ Bug fixes
|
|
8
|
+
|
|
9
|
+
- Added `lineClamp` and `wordBreak` properties to `Chip` Text to allow overflowing text to hide instead of breaking into lines. ([#220](https://github.com/TiendaNube/nimbus-design-system/pull/220) by [@juanchigallego](https://github.com/juanchigallego))
|
|
10
|
+
|
|
11
|
+
## 2024-01-18 `5.4.0`
|
|
12
|
+
|
|
13
|
+
### ๐ New features
|
|
14
|
+
|
|
15
|
+
- Add `labelContent` prop to `Tabs.Item` subcomponent to include a child node on the tab button. ([#216](https://github.com/TiendaNube/nimbus-design-system/pull/216) by [@juanchigallego](https://github.com/juanchigallego))
|
|
16
|
+
|
|
5
17
|
## 2023-12-22 `5.3.2`
|
|
6
18
|
|
|
7
19
|
#### ๐ New features
|
package/dist/index.d.ts
CHANGED
|
@@ -3313,6 +3313,10 @@ export interface TabsButtonProperties {
|
|
|
3313
3313
|
* Label of the tab button.
|
|
3314
3314
|
*/
|
|
3315
3315
|
label: string;
|
|
3316
|
+
/**
|
|
3317
|
+
* Content of the tab button.
|
|
3318
|
+
*/
|
|
3319
|
+
labelContent?: ReactNode;
|
|
3316
3320
|
/**
|
|
3317
3321
|
* Determines if tab is active.
|
|
3318
3322
|
* @default false
|
|
@@ -3340,6 +3344,11 @@ export interface TabsItemProperties {
|
|
|
3340
3344
|
* Label of the tabpanel. Used to pair with it's corresponding tab control.
|
|
3341
3345
|
*/
|
|
3342
3346
|
label: string;
|
|
3347
|
+
/**
|
|
3348
|
+
* Optional content of the tabpanel.
|
|
3349
|
+
* @TJS-type ReactNode;
|
|
3350
|
+
*/
|
|
3351
|
+
labelContent?: ReactNode;
|
|
3343
3352
|
/**
|
|
3344
3353
|
* The content of the tabs item.
|
|
3345
3354
|
* @TJS-type ReactNode | ReactNode[];
|