@nimbus-ds/components 4.0.0 → 4.1.0-rc.2
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 +2 -2
- package/dist/index.d.ts +3 -3
- package/package.json +4 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
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
5
|
## 2023-04-03 `4.0.0`
|
|
6
6
|
|
|
7
7
|
#### 🛠 Breaking changes
|
|
8
8
|
|
|
9
|
-
- Refactored shadow tokens in components. ([#
|
|
9
|
+
- Refactored shadow tokens in components. ([#139](https://github.com/TiendaNube/nimbus-design-system/pull/139) by [@juniorconquista](https://github.com/juniorconquista))
|
|
10
10
|
|
|
11
11
|
## 2023-03-31 `3.2.0`
|
|
12
12
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
// Generated by dts-bundle-generator v7.1.0
|
|
2
2
|
|
|
3
|
-
import { Placement } from '@floating-ui/react-dom-interactions';
|
|
4
3
|
import React from 'react';
|
|
5
4
|
import { ButtonHTMLAttributes, ComponentPropsWithRef, HTMLAttributes, ImgHTMLAttributes, InputHTMLAttributes, OptgroupHTMLAttributes, OptionHTMLAttributes, ReactElement, ReactNode, SVGAttributes, SelectHTMLAttributes, TextareaHTMLAttributes } from 'react';
|
|
6
5
|
|
|
@@ -1077,7 +1076,7 @@ declare const propertiesModal: {
|
|
|
1077
1076
|
export type PaddingProperties = keyof typeof propertiesModal.padding;
|
|
1078
1077
|
export interface ModalSprinkle {
|
|
1079
1078
|
/**
|
|
1080
|
-
* The maxWidth property specifies the maxWidth of a modal's content area.
|
|
1079
|
+
* The maxWidth property specifies the maxWidth of a modal's content area. The width of the modal will be defined by the width of the content in this prop.
|
|
1081
1080
|
* @default { xs: "100%", md: "500px" }
|
|
1082
1081
|
*/
|
|
1083
1082
|
maxWidth?: string | Conditions<string>;
|
|
@@ -1705,6 +1704,7 @@ export interface ListProperties {
|
|
|
1705
1704
|
}
|
|
1706
1705
|
export type ListProps = ListProperties & HTMLAttributes<HTMLUListElement | HTMLOListElement>;
|
|
1707
1706
|
export declare const List: React.FC<ListProps> & ListComponents;
|
|
1707
|
+
export type PopoverPlacement = "top" | "right" | "bottom" | "left" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end" | "top-start" | "top-end";
|
|
1708
1708
|
export interface PopoverProperties extends PopoverSprinkle {
|
|
1709
1709
|
/**
|
|
1710
1710
|
* An HTML element, or a function that returns one. It's used to set the position of the popover.
|
|
@@ -1734,7 +1734,7 @@ export interface PopoverProperties extends PopoverSprinkle {
|
|
|
1734
1734
|
* Position of the popover.
|
|
1735
1735
|
* @default bottom
|
|
1736
1736
|
*/
|
|
1737
|
-
position?:
|
|
1737
|
+
position?: PopoverPlacement;
|
|
1738
1738
|
/**
|
|
1739
1739
|
* Adds hover event listeners that change the open state, like CSS :hover.
|
|
1740
1740
|
* @default false
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nimbus-ds/components",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.1.0-rc.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"files": [
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
"url": "https://github.com/TiendaNube/nimbus-design-system/issues"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@nimbus-ds/webpack": "^1.
|
|
34
|
-
}
|
|
33
|
+
"@nimbus-ds/webpack": "^1.3.0-rc.2"
|
|
34
|
+
},
|
|
35
|
+
"stableVersion": "4.0.0"
|
|
35
36
|
}
|