@rarui/typings 2.3.0 → 2.5.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 +12 -0
- package/dist/index.d.ts +15 -12
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
This package is intended for internal use in creating components with polymorphic typing.
|
|
4
4
|
|
|
5
|
+
## 2025-11-25 `2.25.0`
|
|
6
|
+
|
|
7
|
+
#### 🎉 New features
|
|
8
|
+
|
|
9
|
+
- **Banner Tonal Property**: Added support for `tonal` property in BannerProps type, enabling subdued color variants for all appearance types. Property is automatically inherited from BannerVariants in styles package. ([#149](https://git.rarolabs.com.br/frontend/rarui/-/merge_requests/149) by [@junior](https://git.rarolabs.com.br/junior))
|
|
10
|
+
|
|
11
|
+
## 2025-10-16 `2.24.0`
|
|
12
|
+
|
|
13
|
+
#### 🎉 New features
|
|
14
|
+
|
|
15
|
+
- **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))
|
|
16
|
+
|
|
5
17
|
## 2025-10-09 `2.23.0`
|
|
6
18
|
|
|
7
19
|
#### 🎉 New features
|
package/dist/index.d.ts
CHANGED
|
@@ -16644,12 +16644,12 @@ declare const statusStyles: {
|
|
|
16644
16644
|
dot: RuntimeFn<{
|
|
16645
16645
|
size: {
|
|
16646
16646
|
normal: {
|
|
16647
|
-
|
|
16648
|
-
|
|
16647
|
+
minHeight: ".5rem";
|
|
16648
|
+
minWidth: ".5rem";
|
|
16649
16649
|
};
|
|
16650
16650
|
small: {
|
|
16651
|
-
|
|
16652
|
-
|
|
16651
|
+
minHeight: ".25rem";
|
|
16652
|
+
minWidth: ".25rem";
|
|
16653
16653
|
};
|
|
16654
16654
|
};
|
|
16655
16655
|
}>;
|
|
@@ -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})`;
|
|
@@ -16698,6 +16702,13 @@ declare const bannerStyles: {
|
|
|
16698
16702
|
borderRadius: `var(--${string})` | `var(--${string}, ${string})`;
|
|
16699
16703
|
};
|
|
16700
16704
|
};
|
|
16705
|
+
/**
|
|
16706
|
+
* Enables subdued color variants for the banner. When true, uses softer, less vibrant versions of the appearance colors for a more subtle presentation.
|
|
16707
|
+
* @default false
|
|
16708
|
+
*/
|
|
16709
|
+
tonal: {
|
|
16710
|
+
true: {};
|
|
16711
|
+
};
|
|
16701
16712
|
}>;
|
|
16702
16713
|
};
|
|
16703
16714
|
|
|
@@ -18083,14 +18094,6 @@ interface BannerTyping {
|
|
|
18083
18094
|
* @TJS-type () => void;
|
|
18084
18095
|
*/
|
|
18085
18096
|
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
18097
|
}
|
|
18095
18098
|
type BannerProps = BannerTyping & BannerVariants;
|
|
18096
18099
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rarui/typings",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.5.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.
|
|
27
|
+
"@rarui/styles": "^3.3.0",
|
|
28
28
|
"@rarui/tools": "^1.0.0"
|
|
29
29
|
}
|
|
30
30
|
}
|