@rarui/typings 2.3.0 → 2.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 +6 -0
- package/dist/index.d.ts +4 -8
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
This package is intended for internal use in creating components with polymorphic typing.
|
|
4
4
|
|
|
5
|
+
## 2025-10-16 `2.24.0`
|
|
6
|
+
|
|
7
|
+
#### 🎉 New features
|
|
8
|
+
|
|
9
|
+
- **Banner Success Appearance**: Added support for new `success` appearance variant in Banner component, providing visual feedback for successful operations with appropriate success colors. ([#144](https://git.rarolabs.com.br/frontend/rarui/-/merge_requests/144) by [@junior](https://git.rarolabs.com.br/junior))
|
|
10
|
+
|
|
5
11
|
## 2025-10-09 `2.23.0`
|
|
6
12
|
|
|
7
13
|
#### 🎉 New features
|
package/dist/index.d.ts
CHANGED
|
@@ -16668,6 +16668,10 @@ declare const bannerStyles: {
|
|
|
16668
16668
|
backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
|
|
16669
16669
|
color: `var(--${string})` | `var(--${string}, ${string})`;
|
|
16670
16670
|
};
|
|
16671
|
+
success: {
|
|
16672
|
+
backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
|
|
16673
|
+
color: `var(--${string})` | `var(--${string}, ${string})`;
|
|
16674
|
+
};
|
|
16671
16675
|
info: {
|
|
16672
16676
|
backgroundColor: `var(--${string})` | `var(--${string}, ${string})`;
|
|
16673
16677
|
color: `var(--${string})` | `var(--${string}, ${string})`;
|
|
@@ -18083,14 +18087,6 @@ interface BannerTyping {
|
|
|
18083
18087
|
* @TJS-type () => void;
|
|
18084
18088
|
*/
|
|
18085
18089
|
onClose?: () => void;
|
|
18086
|
-
/**
|
|
18087
|
-
* The appearance of the banner. This can be used to set the color of the banner.
|
|
18088
|
-
*/
|
|
18089
|
-
appearance?: "brand" | "error" | "info" | "warning" | "neutral" | "inverted";
|
|
18090
|
-
/**
|
|
18091
|
-
* Determines whether the banner message should float above the content. This can be useful for ensuring the message remains visible even as the user scrolls.
|
|
18092
|
-
*/
|
|
18093
|
-
floating?: boolean;
|
|
18094
18090
|
}
|
|
18095
18091
|
type BannerProps = BannerTyping & BannerVariants;
|
|
18096
18092
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rarui/typings",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"url": "https://git.rarolabs.com.br/frontend/rarui/issues"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@rarui/styles": "^3.2.
|
|
27
|
+
"@rarui/styles": "^3.2.2",
|
|
28
28
|
"@rarui/tools": "^1.0.0"
|
|
29
29
|
}
|
|
30
30
|
}
|