@rarui/typings 2.4.0 → 2.6.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 +18 -5
- 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
|
+
## 2026-01-19 `2.26.0`
|
|
6
|
+
|
|
7
|
+
#### 🎉 New features
|
|
8
|
+
|
|
9
|
+
- **Status Component minWidth Support**: Added support for `minWidth` property in StatusProps type through StatusSprinkle, enabling responsive width constraints for Status component. Property is automatically inherited from styles package sprinkle system. ([#151](https://git.rarolabs.com.br/frontend/rarui/-/merge_requests/151) by [@junior](https://git.rarolabs.com.br/junior))
|
|
10
|
+
|
|
11
|
+
## 2025-11-25 `2.25.0`
|
|
12
|
+
|
|
13
|
+
#### 🎉 New features
|
|
14
|
+
|
|
15
|
+
- **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))
|
|
16
|
+
|
|
5
17
|
## 2025-10-16 `2.24.0`
|
|
6
18
|
|
|
7
19
|
#### 🎉 New features
|
package/dist/index.d.ts
CHANGED
|
@@ -16417,7 +16417,9 @@ declare const styles$3: {
|
|
|
16417
16417
|
size: {
|
|
16418
16418
|
small: {
|
|
16419
16419
|
width: "1.25rem";
|
|
16420
|
+
minWidth: "1.25rem";
|
|
16420
16421
|
height: "1.25rem";
|
|
16422
|
+
minHeight: "1.25rem";
|
|
16421
16423
|
":before": {
|
|
16422
16424
|
width: "2rem";
|
|
16423
16425
|
height: "2rem";
|
|
@@ -16429,7 +16431,9 @@ declare const styles$3: {
|
|
|
16429
16431
|
};
|
|
16430
16432
|
large: {
|
|
16431
16433
|
width: "1.5rem";
|
|
16434
|
+
minWidth: "1.5rem";
|
|
16432
16435
|
height: "1.5rem";
|
|
16436
|
+
minHeight: "1.5rem";
|
|
16433
16437
|
":before": {
|
|
16434
16438
|
width: "2.75rem";
|
|
16435
16439
|
height: "2.75rem";
|
|
@@ -16644,18 +16648,20 @@ declare const statusStyles: {
|
|
|
16644
16648
|
dot: RuntimeFn<{
|
|
16645
16649
|
size: {
|
|
16646
16650
|
normal: {
|
|
16647
|
-
|
|
16648
|
-
|
|
16651
|
+
minHeight: ".5rem";
|
|
16652
|
+
minWidth: ".5rem";
|
|
16649
16653
|
};
|
|
16650
16654
|
small: {
|
|
16651
|
-
|
|
16652
|
-
|
|
16655
|
+
minHeight: ".25rem";
|
|
16656
|
+
minWidth: ".25rem";
|
|
16653
16657
|
};
|
|
16654
16658
|
};
|
|
16655
16659
|
}>;
|
|
16656
16660
|
};
|
|
16657
16661
|
|
|
16658
16662
|
type StatusVariants = NonNullable<RecipeVariants<typeof statusStyles.status>>;
|
|
16663
|
+
type StatusDynamicProperties = Pick<StandardLonghandProperties, "minWidth">;
|
|
16664
|
+
type StatusSprinkle = StatusDynamicProperties;
|
|
16659
16665
|
|
|
16660
16666
|
declare const bannerStyles: {
|
|
16661
16667
|
banner: RuntimeFn<{
|
|
@@ -16702,6 +16708,13 @@ declare const bannerStyles: {
|
|
|
16702
16708
|
borderRadius: `var(--${string})` | `var(--${string}, ${string})`;
|
|
16703
16709
|
};
|
|
16704
16710
|
};
|
|
16711
|
+
/**
|
|
16712
|
+
* Enables subdued color variants for the banner. When true, uses softer, less vibrant versions of the appearance colors for a more subtle presentation.
|
|
16713
|
+
* @default false
|
|
16714
|
+
*/
|
|
16715
|
+
tonal: {
|
|
16716
|
+
true: {};
|
|
16717
|
+
};
|
|
16705
16718
|
}>;
|
|
16706
16719
|
};
|
|
16707
16720
|
|
|
@@ -17698,7 +17711,7 @@ interface StatusTyping {
|
|
|
17698
17711
|
*/
|
|
17699
17712
|
dot?: boolean;
|
|
17700
17713
|
}
|
|
17701
|
-
type StatusProps = StatusTyping & StatusVariants;
|
|
17714
|
+
type StatusProps = StatusTyping & StatusVariants & StatusSprinkle;
|
|
17702
17715
|
|
|
17703
17716
|
interface ButtonTyping {
|
|
17704
17717
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rarui/typings",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.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.4.0",
|
|
28
28
|
"@rarui/tools": "^1.0.0"
|
|
29
29
|
}
|
|
30
30
|
}
|