@rarui/typings 2.5.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 +6 -0
- package/dist/index.d.ts +7 -1
- 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
|
+
## 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
|
+
|
|
5
11
|
## 2025-11-25 `2.25.0`
|
|
6
12
|
|
|
7
13
|
#### 🎉 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";
|
|
@@ -16656,6 +16660,8 @@ declare const statusStyles: {
|
|
|
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<{
|
|
@@ -17705,7 +17711,7 @@ interface StatusTyping {
|
|
|
17705
17711
|
*/
|
|
17706
17712
|
dot?: boolean;
|
|
17707
17713
|
}
|
|
17708
|
-
type StatusProps = StatusTyping & StatusVariants;
|
|
17714
|
+
type StatusProps = StatusTyping & StatusVariants & StatusSprinkle;
|
|
17709
17715
|
|
|
17710
17716
|
interface ButtonTyping {
|
|
17711
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
|
}
|