Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jblossomweb committed Oct 22, 2023
1 parent 7f3c968 commit ec883c1
Show file tree
Hide file tree
Showing 3 changed files with 288 additions and 0 deletions.
271 changes: 271 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"private": true,
"version": "0.0.0",
"scripts": {
"postinstall": "patch-package",
"dev": "vite",
"lint": "eslint --ext .js,.ts,.tsx --ignore-path .gitignore --fix src",
"format": "prettier . --write",
Expand Down Expand Up @@ -57,6 +58,7 @@
"jest": "^29.6.2",
"jest-environment-jsdom": "^29.6.2",
"jest-svg-transformer": "^1.0.0",
"patch-package": "^8.0.0",
"postcss": "^8.4.27",
"prettier": "3.0.0",
"react-test-renderer": "^18.2.0",
Expand Down
15 changes: 15 additions & 0 deletions patches/tailwind-styled-components+2.2.0.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
diff --git a/node_modules/tailwind-styled-components/dist/tailwind.d.ts b/node_modules/tailwind-styled-components/dist/tailwind.d.ts
index 58795f3..d65c690 100644
--- a/node_modules/tailwind-styled-components/dist/tailwind.d.ts
+++ b/node_modules/tailwind-styled-components/dist/tailwind.d.ts
@@ -24,8 +24,8 @@ export declare type RemoveIndex<T> = {
*/
export declare type TailwindExoticComponent<P> = PickU<React.ForwardRefExoticComponent<P>, keyof React.ForwardRefExoticComponent<any>>;
declare type MergeProps<O extends object, P extends {} = {}> = P extends any ? IsAny<P, RemoveIndex<P> & O, P & O> : never;
-declare type TailwindPropHelper<P, O extends object = {}> = PickU<MergeProps<O, P>, keyof MergeProps<O, P>>;
-declare type TailwindComponentPropsWith$As<P extends object, O extends object, $As extends string | React.ComponentType<any> = React.ComponentType<P>, P2 = $As extends AnyTailwindComponent ? TailwindComponentAllInnerProps<$As> : $As extends IntrinsicElementsKeys | React.ComponentType<any> ? React.ComponentPropsWithRef<$As> : never> = P & O & TailwindPropHelper<P2> & {
+declare type TailwindPropHelper<P extends object = {}, O extends object = {}> = PickU<MergeProps<O, P>, keyof MergeProps<O, P>>;
+declare type TailwindComponentPropsWith$As<P extends object, O extends object, $As extends string | React.ComponentType<any> = React.ComponentType<P>, P2 extends object = $As extends AnyTailwindComponent ? TailwindComponentAllInnerProps<$As> : $As extends IntrinsicElementsKeys | React.ComponentType<any> ? React.ComponentPropsWithRef<$As> : never> = P & O & TailwindPropHelper<P2> & {
$as?: $As;
};
/**

0 comments on commit ec883c1

Please sign in to comment.