@nimbus-ds/components 5.2.1-rc.1 โ 5.2.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 +16 -2
- package/dist/index.d.ts +15 -1
- package/dist/index.js +1 -1
- package/package.json +4 -5
package/CHANGELOG.md
CHANGED
|
@@ -2,9 +2,23 @@
|
|
|
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
|
-
## 2023-10-
|
|
5
|
+
## 2023-10-13 `5.2.1`
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
#### ๐ New features
|
|
8
|
+
|
|
9
|
+
- Added `arrow` property to the Component `Tooltip` API. ([#196](https://github.com/TiendaNube/nimbus-design-system/pull/196) by [@juniorconquista](https://github.com/juniorconquista))
|
|
10
|
+
- Added `maxWidth` and `matchReferenceWidth` properties to the Component `Popover` API. ([#196](https://github.com/TiendaNube/nimbus-design-system/pull/196) by [@juniorconquista](https://github.com/juniorconquista))
|
|
11
|
+
|
|
12
|
+
#### ๐ Bug fixes
|
|
13
|
+
|
|
14
|
+
- Fixed bug where the maximum width of the popover exceeded the maximum size of a screen to the Component `Popover`. ([#196](https://github.com/TiendaNube/nimbus-design-system/pull/196) by [@juniorconquista](https://github.com/juniorconquista))
|
|
15
|
+
- Removed fixed minimum width so that the minimum width respects the content of the popover to the Component `Popover`. ([#196](https://github.com/TiendaNube/nimbus-design-system/pull/196) by [@juniorconquista](https://github.com/juniorconquista))
|
|
16
|
+
- Fixed arrow positioning to the Component `Popover`. ([#196](https://github.com/TiendaNube/nimbus-design-system/pull/196) by [@juniorconquista](https://github.com/juniorconquista))
|
|
17
|
+
- Fixed the positioning of the popover so that if it does not fit in the chosen position, it automatically moves to a position that has positioning space to the Component `Popover`. ([#196](https://github.com/TiendaNube/nimbus-design-system/pull/196) by [@juniorconquista](https://github.com/juniorconquista))
|
|
18
|
+
|
|
19
|
+
#### ๐ 3rd party library updates
|
|
20
|
+
|
|
21
|
+
- Updated `@floating-ui/react@0.26.0`. ([#195](https://github.com/TiendaNube/nimbus-design-system/pull/195) by [@juanchigallego](https://github.com/juanchigallego))
|
|
8
22
|
|
|
9
23
|
## 2023-08-04 `5.2.0`
|
|
10
24
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1460,9 +1460,13 @@ export type PopoverZIndexProperties = keyof typeof propertiesPopover.zIndex;
|
|
|
1460
1460
|
export interface PopoverSprinkle {
|
|
1461
1461
|
/**
|
|
1462
1462
|
* The width property specifies the width of a popover's content area.
|
|
1463
|
-
* @default
|
|
1463
|
+
* @default fit-content
|
|
1464
1464
|
*/
|
|
1465
1465
|
width?: string | Conditions<string>;
|
|
1466
|
+
/**
|
|
1467
|
+
* The maxWidth property specifies the maximum width of a popover's content area.
|
|
1468
|
+
*/
|
|
1469
|
+
maxWidth?: string | Conditions<string>;
|
|
1466
1470
|
/**
|
|
1467
1471
|
* The height property specifies the height of a popover's content area.
|
|
1468
1472
|
*/
|
|
@@ -2480,6 +2484,11 @@ export interface PopoverProperties extends PopoverSprinkle {
|
|
|
2480
2484
|
* @default true
|
|
2481
2485
|
*/
|
|
2482
2486
|
arrow?: boolean;
|
|
2487
|
+
/**
|
|
2488
|
+
* A common feature of select dropdowns is that the dropdown matches the width of the reference regardless of its contents.
|
|
2489
|
+
* @default false
|
|
2490
|
+
*/
|
|
2491
|
+
matchReferenceWidth?: boolean;
|
|
2483
2492
|
/**
|
|
2484
2493
|
* Position of the popover.
|
|
2485
2494
|
* @default bottom
|
|
@@ -2814,6 +2823,11 @@ export interface TooltipProperties {
|
|
|
2814
2823
|
* The text that should appear in the tooltip message.
|
|
2815
2824
|
*/
|
|
2816
2825
|
content: string;
|
|
2826
|
+
/**
|
|
2827
|
+
* Conditional for displaying the popover arrow.
|
|
2828
|
+
* @default false
|
|
2829
|
+
*/
|
|
2830
|
+
arrow?: boolean;
|
|
2817
2831
|
/**
|
|
2818
2832
|
* Position of the popover.
|
|
2819
2833
|
* @default bottom
|