@nimbus-ds/components 5.3.2-rc.3 → 5.4.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 CHANGED
@@ -2,14 +2,20 @@
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-01-18 `5.4.0`
6
+
7
+ ### 🎉 New features
8
+
9
+ - 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))
10
+
5
11
  ## 2023-12-22 `5.3.2`
6
12
 
7
13
  #### 🎉 New features
8
14
 
9
- - Update `Checkbox`, `Chip`, `IconButton`, `Radio`, `Toggle` and `Alert` packages with new color tokens from `@nimbus-ds/tokens` package. ([#213](https://github.com/TiendaNube/nimbus-design-system/pull/213) by [@juanchigallego](https://github.com/juanchigallego))
10
- - Changed default color to `neutral-textHigh` and default weight to `bold` on `Title` component. ([#213](https://github.com/TiendaNube/nimbus-design-system/pull/213) by [@juanchigallego](https://github.com/juanchigallego))
11
- - Changed default title size to `h4` on `CardHeader` and `ModalHeader` components. ([#213](https://github.com/TiendaNube/nimbus-design-system/pull/213) by [@juanchigallego](https://github.com/juanchigallego))
12
- - Changed default title size to `h2` on `SidebarHeader` component. ([#213](https://github.com/TiendaNube/nimbus-design-system/pull/213) by [@juanchigallego](https://github.com/juanchigallego))
15
+ - Update `Checkbox`, `Chip`, `IconButton`, `Radio`, `Toggle` and `Alert` packages with new color tokens from `@nimbus-ds/tokens` package. ([#215](https://github.com/TiendaNube/nimbus-design-system/pull/215) by [@juanchigallego](https://github.com/juanchigallego))
16
+ - Changed default color to `neutral-textHigh` and default weight to `bold` on `Title` component. ([#215](https://github.com/TiendaNube/nimbus-design-system/pull/215) by [@juanchigallego](https://github.com/juanchigallego))
17
+ - Changed default title size to `h4` on `CardHeader` and `ModalHeader` components. ([#215](https://github.com/TiendaNube/nimbus-design-system/pull/215) by [@juanchigallego](https://github.com/juanchigallego))
18
+ - Changed default title size to `h2` on `SidebarHeader` component. ([#215](https://github.com/TiendaNube/nimbus-design-system/pull/215) by [@juanchigallego](https://github.com/juanchigallego))
13
19
 
14
20
  ## 2023-12-15 `5.3.1`
15
21
 
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[];