@nimbus-ds/popover 3.2.1 → 4.0.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 +6 -0
- package/dist/index.d.ts +13 -1
- package/package.json +4 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Use Popovers to bring attention to specific user interface elements and suggest an action or to guide users through a new experience
|
|
4
4
|
|
|
5
|
+
## 2023-05-18 `4.0.0`
|
|
6
|
+
|
|
7
|
+
#### 🛠 Breaking changes
|
|
8
|
+
|
|
9
|
+
- Changed the dynamic sending option of the `zIndex` property to use `zIndex` in the component API. ([#162](https://github.com/TiendaNube/nimbus-design-system/pull/162) by [@juniorconquista](https://github.com/juniorconquista))
|
|
10
|
+
|
|
5
11
|
## 2023-05-02 `3.1.1`
|
|
6
12
|
|
|
7
13
|
#### 🐛 Bug fixes
|
package/dist/index.d.ts
CHANGED
|
@@ -33,10 +33,22 @@ declare const propertiesPopover: {
|
|
|
33
33
|
small: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
34
34
|
none: string;
|
|
35
35
|
};
|
|
36
|
+
zIndex: {
|
|
37
|
+
"100": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
38
|
+
"200": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
39
|
+
"300": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
40
|
+
"400": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
41
|
+
"500": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
42
|
+
"600": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
43
|
+
"700": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
44
|
+
"800": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
45
|
+
"900": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
46
|
+
};
|
|
36
47
|
};
|
|
37
48
|
export type PopoverColorProperties = keyof typeof propertiesPopover.color;
|
|
38
49
|
export type PopoverBackgroundColorProperties = keyof typeof propertiesPopover.backgroundColor;
|
|
39
50
|
export type PopoverPaddingProperties = keyof typeof propertiesPopover.padding;
|
|
51
|
+
export type PopoverZIndexProperties = keyof typeof propertiesPopover.zIndex;
|
|
40
52
|
export interface PopoverSprinkle {
|
|
41
53
|
/**
|
|
42
54
|
* The width property specifies the width of a popover's content area.
|
|
@@ -50,7 +62,7 @@ export interface PopoverSprinkle {
|
|
|
50
62
|
/**
|
|
51
63
|
* The zIndex property specifies the stack order of the popover.
|
|
52
64
|
*/
|
|
53
|
-
zIndex?:
|
|
65
|
+
zIndex?: PopoverZIndexProperties | Conditions<PopoverZIndexProperties>;
|
|
54
66
|
/**
|
|
55
67
|
* The backgroundColor property sets the background color of the popover.
|
|
56
68
|
* @default neutral-background
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nimbus-ds/popover",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0-rc.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"files": [
|
|
@@ -29,8 +29,9 @@
|
|
|
29
29
|
"url": "https://github.com/TiendaNube/nimbus-design-system/issues"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@nimbus-ds/box": "^
|
|
32
|
+
"@nimbus-ds/box": "^4.0.0-rc.1",
|
|
33
33
|
"@nimbus-ds/webpack": "^1.3.0",
|
|
34
34
|
"@vanilla-extract/dynamic": "^2.0.2"
|
|
35
|
-
}
|
|
35
|
+
},
|
|
36
|
+
"stableVersion": "3.2.1"
|
|
36
37
|
}
|