@vitus-labs/rocketstyle 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/lib/index.d.ts +10 -11
- package/package.json +2 -2
package/lib/index.d.ts
CHANGED
|
@@ -345,17 +345,16 @@ interface IRocketStyleComponent<OA extends TObj = {}, EA extends TObj = {}, T ex
|
|
|
345
345
|
* }))
|
|
346
346
|
* ```
|
|
347
347
|
*/
|
|
348
|
-
attrs:
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
}>) => RocketStyleComponent<OA, MergeTypes<[EA, P]>, T, CSS, S, HOC, D, UB, DKP>;
|
|
348
|
+
attrs: {
|
|
349
|
+
<P extends TObj = {}>(param: AttrsCb<DFP & P, Theme<T>>, config?: Partial<{
|
|
350
|
+
priority: boolean;
|
|
351
|
+
filter: (keyof MergeTypes<[EA, P]>)[];
|
|
352
|
+
}>): RocketStyleComponent<OA, MergeTypes<[EA, P]>, T, CSS, S, HOC, D, UB, DKP>;
|
|
353
|
+
<P extends TObj = {}>(param: P & Partial<NoInfer<DFP>>, config?: Partial<{
|
|
354
|
+
priority: boolean;
|
|
355
|
+
filter: (keyof MergeTypes<[EA, P]>)[];
|
|
356
|
+
}>): RocketStyleComponent<OA, MergeTypes<[EA, P]>, T, CSS, S, HOC, D, UB, DKP>;
|
|
357
|
+
};
|
|
359
358
|
/**
|
|
360
359
|
* A chaining method to define default component theme
|
|
361
360
|
* @param param Can be either _object_ or a _callback_
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitus-labs/rocketstyle",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Vit Bokisch <vit@bokisch.cz>",
|
|
6
6
|
"maintainers": [
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"typecheck": "tsc --noEmit"
|
|
65
65
|
},
|
|
66
66
|
"peerDependencies": {
|
|
67
|
-
"@vitus-labs/core": "^2.
|
|
67
|
+
"@vitus-labs/core": "^2.6.0",
|
|
68
68
|
"react": ">= 19"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|