@vitus-labs/connector-styled-components 2.0.0 → 2.2.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 +4 -0
- package/package.json +5 -3
package/lib/index.d.ts
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import styled, { ThemeProvider, createGlobalStyle, css, keyframes, useTheme } from "styled-components";
|
|
2
2
|
|
|
3
3
|
//#region src/index.d.ts
|
|
4
|
+
type StyledComponentsCssResult = ReturnType<typeof css>;
|
|
5
|
+
declare module '@vitus-labs/core' {
|
|
6
|
+
interface CSSEngineResult extends Extract<StyledComponentsCssResult, object> {}
|
|
7
|
+
}
|
|
4
8
|
declare const provider: typeof ThemeProvider;
|
|
5
9
|
//#endregion
|
|
6
10
|
export { createGlobalStyle, css, keyframes, provider, styled, useTheme };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitus-labs/connector-styled-components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Vit Bokisch <vit@bokisch.cz>",
|
|
6
6
|
"maintainers": [
|
|
@@ -50,12 +50,14 @@
|
|
|
50
50
|
"typecheck": "tsc --noEmit"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
|
+
"@vitus-labs/core": "workspace:^",
|
|
53
54
|
"react": ">= 19",
|
|
54
55
|
"styled-components": ">= 6"
|
|
55
56
|
},
|
|
56
57
|
"devDependencies": {
|
|
57
|
-
"@vitus-labs/
|
|
58
|
-
"@vitus-labs/tools-
|
|
58
|
+
"@vitus-labs/core": "workspace:*",
|
|
59
|
+
"@vitus-labs/tools-rolldown": "2.3.0",
|
|
60
|
+
"@vitus-labs/tools-typescript": "2.3.0",
|
|
59
61
|
"styled-components": "^6.3.11"
|
|
60
62
|
}
|
|
61
63
|
}
|