From e406906c124e4fdf60b9a6f082fcefc53a515bff Mon Sep 17 00:00:00 2001 From: Suraj Date: Mon, 28 Aug 2023 16:58:44 +0530 Subject: [PATCH 1/4] v0.2.11-alpha.0 --- packages/react/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react/package.json b/packages/react/package.json index 82da1ae8d..9896e1aec 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,7 +1,7 @@ { "name": "@gluestack-style/react", "description": "A universal & performant styling library for React Native, Next.js & React", - "version": "0.2.10-alpha.0", + "version": "0.2.11-alpha.0", "keywords": [ "React Native", "Next.js", From 99723dedba991b0df08efd5cd3b11c85db574db6 Mon Sep 17 00:00:00 2001 From: Suraj Date: Mon, 28 Aug 2023 17:38:50 +0530 Subject: [PATCH 2/4] v0.2.11-alpha.1 --- packages/react/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react/package.json b/packages/react/package.json index 9896e1aec..c53a01f07 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,7 +1,7 @@ { "name": "@gluestack-style/react", "description": "A universal & performant styling library for React Native, Next.js & React", - "version": "0.2.11-alpha.0", + "version": "0.2.11-alpha.1", "keywords": [ "React Native", "Next.js", From 111192494140afbea3a1c2b787c118940ab9992f Mon Sep 17 00:00:00 2001 From: Suraj Date: Mon, 28 Aug 2023 17:41:56 +0530 Subject: [PATCH 3/4] v0.2.11 --- packages/react/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react/package.json b/packages/react/package.json index c53a01f07..d5a134551 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,7 +1,7 @@ { "name": "@gluestack-style/react", "description": "A universal & performant styling library for React Native, Next.js & React", - "version": "0.2.11-alpha.1", + "version": "0.2.11", "keywords": [ "React Native", "Next.js", From 40e61e567d600faed608faaa1d9fd37fee7378fb Mon Sep 17 00:00:00 2001 From: Suraj Date: Thu, 31 Aug 2023 14:59:17 +0530 Subject: [PATCH 4/4] fix: passing props typing --- packages/react/src/types.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/react/src/types.ts b/packages/react/src/types.ts index 2f29634e0..4b12b5dad 100644 --- a/packages/react/src/types.ts +++ b/packages/react/src/types.ts @@ -105,9 +105,9 @@ export type Aliases = GSConfig['aliases']; export type Components = GSConfig['components']; export type IMediaQueries = keyof GSConfig['tokens']['mediaQueries']; -export type SxStyleProps = { - sx?: SxProps & { - [Key in `@${IMediaQueries}`]?: SxProps; +export type SxStyleProps = { + sx?: SxProps & { + [Key in `@${IMediaQueries}`]?: SxProps; }; }; @@ -540,7 +540,7 @@ export interface GSConfig /********************* COMPONENT PROPS TYPE *****************************************/ export type ComponentProps = - SxStyleProps & { + SxStyleProps & { states?: { [K in IState]?: boolean; };